Automatic Approve Workflows #36146
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: Automatic Approve Workflows | |
on: | |
schedule: | |
- cron: "*/10 * * * *" | |
jobs: | |
automatic-approve: | |
name: Automatic Approve Workflows | |
runs-on: ubuntu-latest | |
steps: | |
- name: Generate App Token | |
id: app-token-generation | |
uses: actions/create-github-app-token@v1 | |
with: | |
app-id: ${{ secrets.APP_ID }} | |
private-key: ${{ secrets.APP_PRIVATE_KEY }} | |
- name: Automatic Approve | |
uses: mheap/automatic-approve-action@v1 | |
with: | |
token: ${{ steps.app-token-generation.outputs.token }} | |
workflows: "ci_suite.yml" | |
dangerous_files: "build.bat" |