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

Commitb7102b3

Browse files
authored
chore: add script to update flake automatically (#14046)
1 parent58b810f commitb7102b3

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

‎.github/workflows/ci.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ jobs:
121121
needs:changes
122122
if:needs.changes.outputs.gomod == 'true'
123123
runs-on:${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
124+
permissions:
125+
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
126+
contents:write
124127
steps:
125128
-name:Checkout
126129
uses:actions/checkout@v4
@@ -133,8 +136,10 @@ jobs:
133136
-name:Update Nix Flake SRI Hash
134137
run:./scripts/update-flake.sh
135138

136-
-name:Ensure No Changes
137-
run:git diff --exit-code
139+
-uses:stefanzweifel/git-auto-commit-action@v5
140+
with:
141+
# Allows dependabot to still rebase!
142+
commit_message:"[dependabot skip] Update Nix Flake SRI Hash"
138143

139144
lint:
140145
needs:changes

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp