We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f624ce0 commit afbb436Copy full SHA for afbb436
.github/workflows/branchtest.yaml
@@ -0,0 +1,27 @@
1
+name: Test branches with slash in name
2
+on: [push]
3
+
4
+jobs:
5
+ test:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ # To use this repository's private action, you must check out the repository
9
+ - uses: actions/checkout@v3
10
+ with:
11
+ fetch-depth: 0
12
13
+ - name: Generate changelog
14
+ id: changelog
15
+ uses: metcalfc/changelog-generator@main
16
17
+ myToken: ${{ secrets.GITHUB_TOKEN }}
18
+ head-ref: 'origin/test/branch' #add 'origin/` in front of your branch name
19
+ base-ref: 'v1.0.0'
20
+ fetch: false
21
22
+ - name: Get the changelog
23
+ run: |
24
+ cat << "EOF"
25
+ ${{ steps.changelog.outputs.changelog }}
26
+ EOF
27
.github/workflows/changelog.yml .github/workflows/test.yml
@@ -1,4 +1,4 @@
-name: test
+name: Test the changelog action
on: [push]
jobs:
0 commit comments