build(deps): bump codetalkio/expose-tunnel from 1.4.0 to 1.5.0 #44
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: Dependabot auto-merge | |
on: pull_request | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
dependabot: | |
runs-on: ubuntu-latest | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
steps: | |
- name: Generate token | |
id: generate_token | |
uses: tibdex/github-app-token@v1 | |
with: | |
app_id: ${{ secrets.BOT_APP_ID }} | |
private_key: ${{ secrets.BOT_PRIVATE_KEY }} | |
- name: Dependabot metadata | |
id: dependabot_metadata | |
uses: dependabot/fetch-metadata@v1 | |
with: | |
github-token: ${{ steps.generate_token.outputs.token }} | |
- name: Authenticate cli | |
run: echo "${{ steps.generate_token.outputs.token }}" | gh auth login --with-token | |
- name: Approve a PR | |
run: gh pr review --approve "$PR_URL" | |
env: | |
PR_URL: ${{ github.event.pull_request.html_url }} | |
- name: Enable auto-merge for Dependabot PRs | |
run: gh pr merge --auto --merge "$PR_URL" --rebase | |
env: | |
PR_URL: ${{ github.event.pull_request.html_url }} |