A quota_scheduler's denied_response_status_code setting doesn't work #1692
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: Notion Sync | |
on: | |
workflow_dispatch: | |
issues: | |
types: | |
[ | |
opened, | |
edited, | |
labeled, | |
unlabeled, | |
assigned, | |
unassigned, | |
milestoned, | |
demilestoned, | |
reopened, | |
closed, | |
] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.issue.number }} | |
cancel-in-progress: true | |
jobs: | |
notion_job: | |
runs-on: ubuntu-latest | |
name: Add GitHub Issues to Notion | |
steps: | |
- name: Add GitHub Issues to Notion | |
uses: fluxninja/notion-github-action@fluxninja | |
with: | |
notion-token: ${{ secrets.NOTION_TOKEN }} | |
notion-db: ${{ secrets.NOTION_DATABASE }} | |
- name: Send slack notification | |
uses: rtCamp/action-slack-notify@v2.2.1 | |
if: ${{ failure() }} | |
env: | |
SLACK_MESSAGE: | | |
Run: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | |
Issue: ${{ github.event.issue.html_url }} | |
SLACK_COLOR: ${{ job.status }} | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_NOTION_SYNC_FAILURE }} |