Skip to content

Commit 392e57f

Browse files
committed
try simpler flow
1 parent a45dd6b commit 392e57f

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

.github/workflows/generate-go-docs.yaml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -85,28 +85,28 @@ jobs:
8585
aws-lambda-url: ${{ secrets.GATI_LAMBDA_TT_URL }}
8686
aws-region: ${{ secrets.AWS_REGION }}
8787

88-
- name: Checkout new branch
89-
uses: peterjgrainger/action-create-branch@10c7d268152480ae859347db45dc69086cef1d9c # v3.0.0
90-
env:
91-
GITHUB_TOKEN: ${{ steps.setup-github-token-write.outputs.access-token }}
92-
with:
93-
branch: ${{ steps.branch-names.outputs.new_branch }}
94-
95-
- name: Commit changes
96-
uses: planetscale/ghcommit-action@13a844326508cdefc72235201bb0446d6d10a85f # v0.1.6
97-
with:
98-
commit_message: "[Bot] Add automatically generated go documentation"
99-
repo: ${{ github.repository }}
100-
branch: ${{ steps.branch-names.outputs.new_branch }}
101-
# TODO we need a way to determine which modules have changes and run this command for all of them
102-
file_pattern: "seth/*"
103-
env:
104-
GITHUB_TOKEN: ${{ steps.setup-github-token-write.outputs.access-token }}
105-
106-
- name: Fetch repository changes
107-
uses: actions/checkout@v3
108-
with:
109-
fetch-depth: 0
88+
# - name: Checkout new branch
89+
# uses: peterjgrainger/action-create-branch@10c7d268152480ae859347db45dc69086cef1d9c # v3.0.0
90+
# env:
91+
# GITHUB_TOKEN: ${{ steps.setup-github-token-write.outputs.access-token }}
92+
# with:
93+
# branch: ${{ steps.branch-names.outputs.new_branch }}
94+
95+
# - name: Commit changes
96+
# uses: planetscale/ghcommit-action@13a844326508cdefc72235201bb0446d6d10a85f # v0.1.6
97+
# with:
98+
# commit_message: "[Bot] Add automatically generated go documentation"
99+
# repo: ${{ github.repository }}
100+
# branch: ${{ steps.branch-names.outputs.new_branch }}
101+
# # TODO we need a way to determine which modules have changes and run this command for all of them
102+
# file_pattern: "seth/*"
103+
# env:
104+
# GITHUB_TOKEN: ${{ steps.setup-github-token-write.outputs.access-token }}
105+
106+
# - name: Fetch repository changes
107+
# uses: actions/checkout@v3
108+
# with:
109+
# fetch-depth: 0
110110

111111
- name: Create a new PR targeting current PR
112112
uses: peter-evans/create-pull-request@v7

0 commit comments

Comments
 (0)