Skip to content

ci: add review app and artifact publish workflow #1

ci: add review app and artifact publish workflow

ci: add review app and artifact publish workflow #1

Workflow file for this run

# .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