Skip to content

Commit abfb9d5

Browse files
committed
allow CI to run on non-main branch
1 parent bdae0e9 commit abfb9d5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/artifact.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: Create Artifact
66
on:
77
# Triggers the workflow on push or pull request events but only for the "main" branch
88
push:
9-
branches: ["main"]
9+
branches: ["*"]
1010

1111
# Allows you to run this workflow manually from the Actions tab
1212
workflow_dispatch:
@@ -128,6 +128,7 @@ jobs:
128128

129129
- name: Make artifact available
130130
uses: "marvinpinto/action-automatic-releases@latest"
131+
if: github.ref == 'refs/heads/main'
131132
with:
132133
repo_token: "${{ secrets.GITHUB_TOKEN }}"
133134
automatic_release_tag: "latest"

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ devenv.local.nix
1414

1515
# System mozillabuild
1616
mozillabuild
17-
17+
/mozconfig

0 commit comments

Comments
 (0)