This repository has been archived by the owner on Dec 2, 2024. It is now read-only.
chore(deps): upgrade dependencies #413
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
# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". | |
name: emergency | |
on: | |
pull_request: | |
types: | |
- labeled | |
workflow_dispatch: {} | |
jobs: | |
emergency-merge: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
if: contains(github.event.pull_request.labels.*.name, 'emergency') | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
- name: Send custom JSON data to Slack workflow | |
id: slack | |
uses: slackapi/slack-github-action@v1.18.0 | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | |
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK | |
with: | |
payload: |- | |
{ | |
"blocks": [ | |
{ | |
"type": "section", | |
"text": { | |
"type": "mrkdwn", | |
"text": "EMERGENCY wijziging naar PRODUCTION door: ${{ github.actor }} | |
${{ github.event.pull_request.html_url || github.event.head_commit.url }}" | |
} | |
} | |
] | |
} | |
- name: Merge pull requests (automerge-action) | |
uses: pascalgn/automerge-action@v0.15.3 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
MERGE_LABELS: emergency |