|
1 | | -name: Generate Changelog |
| 1 | +# name: Generate Changelog |
2 | 2 |
|
3 | | -on: |
4 | | - push: |
5 | | - tags: |
6 | | - - "v*" |
| 3 | +# on: |
| 4 | +# push: |
| 5 | +# tags: |
| 6 | +# - "v*" |
7 | 7 |
|
8 | | -permissions: |
9 | | - contents: write |
| 8 | +# permissions: |
| 9 | +# contents: write |
10 | 10 |
|
11 | | -jobs: |
12 | | - changelog: |
13 | | - name: Generate changelog |
14 | | - runs-on: ubuntu-latest |
15 | | - steps: |
16 | | - - name: Checkout |
17 | | - uses: actions/checkout@v4 |
18 | | - with: |
19 | | - fetch-depth: 0 |
| 11 | +# jobs: |
| 12 | +# changelog: |
| 13 | +# name: Generate changelog |
| 14 | +# runs-on: ubuntu-latest |
| 15 | +# steps: |
| 16 | +# - name: Checkout |
| 17 | +# uses: actions/checkout@v4 |
| 18 | +# with: |
| 19 | +# fetch-depth: 0 |
20 | 20 |
|
21 | | - - name: Generate a changelog |
22 | | - uses: orhun/git-cliff-action@v4.4.2 |
23 | | - with: |
24 | | - config: cliff.toml |
25 | | - env: |
26 | | - OUTPUT: CHANGELOG.md |
27 | | - GITHUB_REPO: ${{ github.repository }} |
| 21 | +# - name: Generate a changelog |
| 22 | +# uses: orhun/git-cliff-action@v4.4.2 |
| 23 | +# with: |
| 24 | +# config: cliff.toml |
| 25 | +# env: |
| 26 | +# OUTPUT: CHANGELOG.md |
| 27 | +# GITHUB_REPO: ${{ github.repository }} |
28 | 28 |
|
29 | | - - name: Commit |
30 | | - id: commit |
31 | | - run: | |
32 | | - TAG=${GITHUB_REF#refs/tags/} |
33 | | - echo "tag=$TAG" >> $GITHUB_OUTPUT |
34 | | - branch_name="$TAG-changelog" |
| 29 | +# - name: Commit |
| 30 | +# id: commit |
| 31 | +# run: | |
| 32 | +# TAG=${GITHUB_REF#refs/tags/} |
| 33 | +# echo "tag=$TAG" >> $GITHUB_OUTPUT |
| 34 | +# branch_name="$TAG-changelog" |
35 | 35 |
|
36 | | - git config user.name 'github-actions[bot]' |
37 | | - git config user.email 'github-actions[bot]@users.noreply.github.com' |
38 | | - set +e |
39 | | - git checkout -b "$branch_name" |
40 | | - git add CHANGELOG.md |
41 | | - git commit -m "chore: update changelog" |
42 | | - git push origin "$branch_name" |
| 36 | +# git config user.name 'github-actions[bot]' |
| 37 | +# git config user.email 'github-actions[bot]@users.noreply.github.com' |
| 38 | +# set +e |
| 39 | +# git checkout -b "$branch_name" |
| 40 | +# git add CHANGELOG.md |
| 41 | +# git commit -m "chore: update changelog" |
| 42 | +# git push origin "$branch_name" |
43 | 43 |
|
44 | | - - name: Create Pull Request |
45 | | - uses: repo-sync/pull-request@v2 |
46 | | - with: |
47 | | - destination_branch: main |
48 | | - source_branch: ${{ steps.commit.outputs.tag }}-changelog |
49 | | - pr_title: "chore: update changelog for ${{ steps.commit.outputs.tag }}" |
50 | | - pr_body: "Automated changelog update for release ${{ steps.commit.outputs.tag }}" |
| 44 | +# - name: Create Pull Request |
| 45 | +# uses: repo-sync/pull-request@v2 |
| 46 | +# with: |
| 47 | +# destination_branch: main |
| 48 | +# source_branch: ${{ steps.commit.outputs.tag }}-changelog |
| 49 | +# pr_title: "chore: update changelog for ${{ steps.commit.outputs.tag }}" |
| 50 | +# pr_body: "Automated changelog update for release ${{ steps.commit.outputs.tag }}" |
0 commit comments