Update from neicnordic/sensitive-data-archive at 07:13 on 2024-08-19 #334
Workflow file for this run
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: Docs update auto-merge | |
on: push | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
dependabot: | |
runs-on: ubuntu-latest | |
if: ${{ github.head_ref == 'create-pull-request/patch' }} | |
steps: | |
- name: Wait other jobs are passed or failed | |
uses: kachick/wait-other-jobs@v3 | |
timeout-minutes: 30 | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" | |
- name: Enable auto-merge for docs update PRs | |
if: contains('Update from neicnordic/sensitive-data-archive', github.event.head_commit.message) | |
run: gh pr review --approve "$PR_URL" && gh pr merge --auto --merge "$PR_URL" | |
env: | |
PR_URL: ${{github.event.pull_request.html_url}} | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |