We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6662faf commit c1dc0deCopy full SHA for c1dc0de
.github/workflows/reusable_publish_changelog.yml
@@ -6,6 +6,9 @@ on:
6
permissions:
7
contents: write
8
9
+env:
10
+ BRANCH: master
11
+
12
jobs:
13
publish_changelog:
14
# Force Github action to run only a single job at a time (based on the group name)
@@ -24,7 +27,7 @@ jobs:
24
27
git config user.email "[email protected]"
25
28
git config pull.rebase true
26
29
git config remote.origin.url >&- || git remote add origin https://github.com/$origin
- git pull --rebase
30
+ git pull --rebase origin $BRANCH
31
- name: "Generate latest changelog"
32
run: make changelog
33
- name: Pause
@@ -34,4 +37,4 @@ jobs:
34
37
git add CHANGELOG.md
35
38
git commit -m "chore(ci): update changelog with latest changes"
36
39
git pull
- git push origin HEAD:refs/heads/master
40
+ git push origin HEAD:refs/heads/$BRANCH
0 commit comments