FPH admin can upload all the existing business at once (one time thing) #84
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Issue Assigned | |
on: | |
issues: | |
types: [assigned] | |
jobs: | |
slack_message_assignee: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: borales/[email protected] | |
with: | |
cmd: add @slack/bolt mongoose | |
- uses: actions/github-script@v6 | |
env: | |
SLACK_TOKEN: ${{ secrets.CTC_SLACKBOT_OAUTH_TOKEN }} | |
SIGNING_SECRET: ${{ secrets.CTC_SLACKBOT_SIGNING_SECRET }} | |
APP_LEVEL_TOKEN: ${{ secrets.CTC_SLACKBOT_APP_LEVEL_TOKEN }} | |
MONGO_URI: ${{ secrets.CTC_SLACKBOT_MONGO_URI }} | |
with: | |
script: | | |
const messageAssignee = require('./.github/workflows/scripts/issueAssigned'); | |
await messageAssignee({context}); |