Sha256: 0fce3e8f53f71a332ed1a3ad76b8840e5add9f1ea6f43f09bc7e2bc9b4449eb9
Contents?: true
Size: 939 Bytes
Versions: 3
Compression:
Stored size: 939 Bytes
Contents
name: PR auto-{approve,merge} on: pull_request_target: permissions: pull-requests: write contents: write jobs: dependabot: name: Dependabot runs-on: ubuntu-latest if: ${{ github.actor == 'dependabot[bot]' }} steps: - name: Fetch Dependabot metadata id: dependabot-metadata uses: dependabot/fetch-metadata@v1 with: github-token: "${{ secrets.GITHUB_TOKEN }}" - name: Approve Dependabot PR if: ${{steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major'}} run: gh pr review --approve "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Merge Dependabot PR run: gh pr merge --auto --squash "$PR_URL" env: PR_URL: ${{ github.event.pull_request.html_url }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
html-pipeline-3.0.0.pre3 | .github/workflows/automerge.yml |
html-pipeline-3.0.0.pre2 | .github/workflows/automerge.yml |
html-pipeline-3.0.0.pre1 | .github/workflows/automerge.yml |