ci: add review app and artifact publish workflow #1
Workflow file for this run
This file contains hidden or 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
| # .github/workflows/gh-settings.yml | |
| # | |
| # Example workflow for the calling repo (astro-bay). Plan on PR, apply on push | |
| # to main. This is the workflow each project repo ships. | |
| name: GitHub Settings | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - ".github/repo-settings.yml" | |
| - ".github/workflows/gh-settings.yml" | |
| pull_request: | |
| paths: | |
| - ".github/repo-settings.yml" | |
| - ".github/workflows/gh-settings.yml" | |
| concurrency: | |
| group: gh-settings-${{ github.ref }} | |
| cancel-in-progress: false | |
| jobs: | |
| settings: | |
| name: Reconcile | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| # Local invocation while iterating. Swap to the published ref once the | |
| # action lives in your-org/github-management. | |
| - uses: ./.github/actions/gh-settings | |
| with: | |
| mode: ${{ github.event_name == 'push' && 'apply' || 'plan' }} | |
| github-token: ${{ secrets.GH_SETTINGS_TOKEN }} | |
| # oras-registry: ghcr.io/your-org/repo-state # enable when ready |