Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2ed88d5

Browse files
authored
ci: disable update-flake in PRs (#14554)
1 parent5366f25 commit2ed88d5

File tree

1 file changed

+34
-32
lines changed

1 file changed

+34
-32
lines changed

‎.github/workflows/ci.yaml

Lines changed: 34 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -117,38 +117,40 @@ jobs:
117117
run:|
118118
echo "${{ toJSON(steps.filter )}}"
119119
120-
update-flake:
121-
needs:changes
122-
if:needs.changes.outputs.gomod == 'true'
123-
runs-on:${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
124-
steps:
125-
-name:Checkout
126-
uses:actions/checkout@v4
127-
with:
128-
fetch-depth:1
129-
# See: https://github.com/stefanzweifel/git-auto-commit-action?tab=readme-ov-file#commits-made-by-this-action-do-not-trigger-new-workflow-runs
130-
token:${{ secrets.CDRCI_GITHUB_TOKEN }}
131-
132-
-name:Setup Go
133-
uses:./.github/actions/setup-go
134-
135-
-name:Update Nix Flake SRI Hash
136-
run:./scripts/update-flake.sh
137-
138-
# auto update flake for dependabot
139-
-uses:stefanzweifel/git-auto-commit-action@v5
140-
if:github.actor == 'dependabot[bot]'
141-
with:
142-
# Allows dependabot to still rebase!
143-
commit_message:"[dependabot skip] Update Nix Flake SRI Hash"
144-
commit_user_name:"dependabot[bot]"
145-
commit_user_email:"49699333+dependabot[bot]@users.noreply.github.com>"
146-
commit_author:"dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>"
147-
148-
# require everyone else to update it themselves
149-
-name:Ensure No Changes
150-
if:github.actor != 'dependabot[bot]'
151-
run:git diff --exit-code
120+
# Disabled due to instability. See: https://github.com/coder/coder/issues/14553
121+
# Re-enable once the flake hash calculation is stable.
122+
# update-flake:
123+
# needs: changes
124+
# if: needs.changes.outputs.gomod == 'true'
125+
# runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
126+
# steps:
127+
# - name: Checkout
128+
# uses: actions/checkout@v4
129+
# with:
130+
# fetch-depth: 1
131+
# # See: https://github.com/stefanzweifel/git-auto-commit-action?tab=readme-ov-file#commits-made-by-this-action-do-not-trigger-new-workflow-runs
132+
# token: ${{ secrets.CDRCI_GITHUB_TOKEN }}
133+
134+
# - name: Setup Go
135+
# uses: ./.github/actions/setup-go
136+
137+
# - name: Update Nix Flake SRI Hash
138+
# run: ./scripts/update-flake.sh
139+
140+
# # auto update flake for dependabot
141+
# - uses: stefanzweifel/git-auto-commit-action@v5
142+
# if: github.actor == 'dependabot[bot]'
143+
# with:
144+
# # Allows dependabot to still rebase!
145+
# commit_message: "[dependabot skip] Update Nix Flake SRI Hash"
146+
# commit_user_name: "dependabot[bot]"
147+
# commit_user_email: "49699333+dependabot[bot]@users.noreply.github.com>"
148+
# commit_author: "dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>"
149+
150+
# # require everyone else to update it themselves
151+
# - name: Ensure No Changes
152+
# if: github.actor != 'dependabot[bot]'
153+
# run: git diff --exit-code
152154

153155
lint:
154156
needs:changes

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp