Re-Run Unverified PRs #67
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
# Run every third day starting from the 3rd of the month 1 am pacific | |
name: Re-Run Unverified PRs | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 8 3-31/3 * *' | |
jobs: | |
send_pull_requests: | |
runs-on: ubuntu-latest | |
name: Re-Execute any Autotest PR checks | |
steps: | |
- uses: getsentry/action-github-app-token@v2 | |
name: Get GH App token | |
id: podaac-cicd | |
with: | |
app_id: ${{ secrets.CICD_APP_ID }} | |
private_key: ${{ secrets.CICD_APP_PRIVATE_KEY }} | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ steps.podaac-cicd.outputs.token }} | |
- name: Empty Commits | |
env: | |
GH_TOKEN: ${{ github.token }} | |
run: | | |
cd .github/workflows | |
git config --global user.email ${{ github.actor }}@users.noreply.github.com | |
git config --global user.name "${{ github.actor }}" | |
sh rerun_checks.sh autotest |