mithril-vndb/.github/workflows/rollback.yml
Claudia Meadows 542946fd74
Fix and clarify workflow logic, add branch versioning
- `pr.yml` should've been deleted a long time ago. Its functionality
  was already elsewhere, and that's since been folded into `test.yml`.
- I added automatic `release-v*` and `main-v*` versioning.
- Renamed `merge.yml` to `push-release.yml` and `push-main.yml` to
  `pr-create-release.yml` so it's clearer what they're actually
  listening to. I also modified their display names.
2024-09-24 22:16:20 -07:00

22 lines
542 B
YAML

name: rollback
on:
workflow_dispatch:
concurrency: prr:deploy
jobs:
pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm run build
- run: npx pr-release rollback --verbose --target release --source main --verbose --ignore 'package*' --ignore docs/changelog.md --ignore docs/recent-changes.md
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- run: bash scripts/set-versioned-branch.sh release