File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Update changelog
2
+ on :
3
+ release :
4
+ types :
5
+ - published
6
+ jobs :
7
+ run :
8
+ name : Update changelog
9
+ runs-on : ubuntu-latest
10
+ env :
11
+ CHANGELOG_GITHUB_TOKEN : ${{ secrets.CHANGELOG_GITHUB_TOKEN }}
12
+ steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v3
15
+ with :
16
+ ref : master
17
+ - name : Generate changelog
18
+ uses : addnab/docker-run-action@v3
19
+ with :
20
+ image : githubchangeloggenerator/github-changelog-generator
21
+ options : " -v ${{ github.workspace }}:/github/workspace --env SRC_PATH=/github/workspace --env CHANGELOG_GITHUB_TOKEN --workdir /github/workspace"
22
+ run : " github_changelog_generator --user iamfarhad --project LaravelRabbitMQ"
23
+ - name : Commit changes
24
+ run : |
25
+ git config --local user.email "action@github.com"
26
+ git config --local user.name "GitHub Action"
27
+ git add CHANGELOG.md
28
+ git commit -m "update changelog" || true
29
+ - name : Push changes
30
+ uses : ad-m/github-push-action@master
31
+ with :
32
+ github_token : ${{ secrets.GITHUB_TOKEN }}
33
+ branch : master
Original file line number Diff line number Diff line change
1
+ # RabbitMQ CHANGELOG
You can’t perform that action at this time.
0 commit comments