Skip to content

fix: let the script create the db #2

fix: let the script create the db

fix: let the script create the db #2

name: Post Release
on:
workflow_call:
secrets:
GITHUB_TOKEN:

Check failure on line 6 in .github/workflows/reusable-post-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/reusable-post-release.yml

Invalid workflow file

secret name `GITHUB_TOKEN` within `workflow_call` can not be used since it would collide with system reserved name
required: true
SLACK_CHANNEL_ID:
required: false
SLACK_AUTH_TOKEN:
required: false
jobs:
post-release:
name: Perform post-release tasks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install dependencies
run: npm ci --legacy-peer-deps
- name: Perform post-release chores
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID }}
SLACK_AUTH_TOKEN: ${{ secrets.SLACK_AUTH_TOKEN }}
run: ./node_modules/newspack-scripts/post-release.sh