Skip to content

Commit 473d8f7

Browse files
committed
disable changelog pr
1 parent 80201c1 commit 473d8f7

File tree

1 file changed

+43
-43
lines changed

1 file changed

+43
-43
lines changed

.github/workflows/changelog-pr.yml

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,50 @@
1-
name: Generate Changelog
1+
# name: Generate Changelog
22

3-
on:
4-
push:
5-
tags:
6-
- "v*"
3+
# on:
4+
# push:
5+
# tags:
6+
# - "v*"
77

8-
permissions:
9-
contents: write
8+
# permissions:
9+
# contents: write
1010

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
2020

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 }}
2828

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"
3535

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"
4343

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

Comments
 (0)