Skip to content

Commit

Permalink
CI: add dry run job
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoieni committed Jan 20, 2025
1 parent fd604cb commit 26d049f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/dry-run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Dry Run
on:
push:
workflow_dispatch:
schedule:
# Try to dry run every 4 hours
- cron: "0 */4 * * *"

jobs:
dry-run:
name: Run sync-team dry-run
runs-on: ubuntu-24.04
steps:
- name: Generate GitHub token
uses: actions/create-github-app-token@v1
id: generate-token
with:
# GitHub App ID secret name
app-id: ${{ secrets.GH_APP_ID }}
# GitHub App private key secret name
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
- name: Dry run
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
run: cargo run -- --only-print-plan github

0 comments on commit 26d049f

Please sign in to comment.