Repository navigation
deps(patch): pin ghcr.io/cloudpunks/alpine docker tag to c05a9a0 #1
Workflow file for this run
This file contains hidden or 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
| --- | |
| # yaml-language-server: $schema=https://www.schemastore.org/github-workflow.json | |
| name: automerge | |
| "on": | |
| workflow_dispatch: | |
| pull_request: | |
| branches: | |
| - master | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| issues: write | |
| jobs: | |
| dependabot: | |
| runs-on: cloudhippie | |
| if: github.actor == 'dependabot[bot]' | |
| steps: | |
| - name: Setup nodejs | |
| uses: actions/setup-node@v7 | |
| with: | |
| node-version: lts/* | |
| - name: Generate token | |
| id: token | |
| uses: actions/create-github-app-token@v3 | |
| with: | |
| client-id: ${{ secrets.TOKEN_EXCHANGE_APP }} | |
| private-key: ${{ secrets.TOKEN_EXCHANGE_KEY }} | |
| permission-contents: write | |
| permission-pull-requests: write | |
| permission-issues: write | |
| - name: Fetch metadata | |
| uses: dependabot/fetch-metadata@v3 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Install deps | |
| uses: alexellis/arkade-get@master | |
| with: | |
| gh: latest | |
| - name: Approve request | |
| run: gh pr review --approve "${{github.event.pull_request.html_url}}" | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Enable automerge | |
| run: gh pr merge --rebase --auto "${{github.event.pull_request.html_url}}" | |
| env: | |
| GH_TOKEN: ${{ steps.token.outputs.token }} | |
| ... |