Skip to content
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.

Commit

Permalink
CI: undo main -> $default-branch (cannot be used in workflows)
Browse files Browse the repository at this point in the history
`$default-branch` is a macro only available in _workflow templates_,
not in actual workflows.
  • Loading branch information
andreasabel committed Mar 13, 2023
1 parent 1721ceb commit 86bd3ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ name: "/setup"
on:
push:
branches:
- $default-branch
- main
paths-ignore:
- "**.md"
pull_request:
paths-ignore:
- "**.md"
workflow_dispatch:

defaults:
run:
Expand Down

0 comments on commit 86bd3ed

Please sign in to comment.