CIP-0129/CIP-0105 backward compatibility #10674
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: Auto-Approve Docs | |
on: pull_request_target | |
jobs: | |
review: | |
if: '${{ github.ref_protected }}' | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/[email protected] | |
- name: 'Check scope of PR' | |
run: './scripts/gh/check-scope.sh scope' | |
id: check | |
# Note that GitHub actions do not run from forked repos, so this | |
# will only approve PRs from branches in the main repo. | |
- name: 'Approve Docs' | |
if: "${{ steps.check.outputs.scope == 'docs' }}" | |
uses: hmarr/auto-approve-action@v2 | |
with: | |
github-token: "${{ secrets.GITHUB_TOKEN }}" |