fix: default settings (#69) #369
This file contains 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
name: Main | |
on: | |
push: | |
paths-ignore: | |
- '**/*.md' | |
- '**/*.code-*' | |
- '.vscode/**' | |
- '.devcontainer.json' | |
workflow_dispatch: | |
jobs: | |
test: | |
uses: ocadotechnology/codeforlife-workspace/.github/workflows/test-javascript-code.yaml@main | |
secrets: inherit | |
with: | |
# Cannot be set with an env var. Value must match in the release job. | |
node-version: 18 | |
release: | |
needs: [test] | |
concurrency: release | |
runs-on: ubuntu-latest | |
# Release if: | |
# - the repo's owner is Ocado Tech. | |
# - a change is made to the default branch. | |
if: | | |
github.repository_owner_id == 2088731 && | |
github.ref_name == github.event.repository.default_branch | |
steps: | |
- name: 🚀 Publish Semantic Release | |
uses: ocadotechnology/codeforlife-workspace/.github/actions/github/release@main | |
with: | |
cfl-bot-gh-token: ${{ secrets.CFL_BOT_GH_TOKEN }} |