We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 095819e commit db8e0ebCopy full SHA for db8e0eb
.github/workflows/release.yml
@@ -6,7 +6,7 @@ on:
6
branches:
7
- main
8
paths:
9
- - 'ghtoken'
+ - 'gh-token'
10
11
jobs:
12
Update:
@@ -19,14 +19,16 @@ jobs:
19
with:
20
fetch-depth: 0
21
token: ${{ secrets.GITHUB_TOKEN }}
22
+
23
- name: "Calculate new SHA256 hash"
24
run: |
25
new_sha="$(shasum -a 256 gh-token | sed -r 's/gh-token/ghtoken/g')"
26
sed -r "s/echo \"[0-9a-f]{64} ghtoken\"/echo \"$new_sha\"/g" -i README.md
27
28
- name: "Commit and push updates"
29
uses: EndBug/add-and-commit@a3adef035a1381dcf888c90b847240e2ddb9e008
30
31
author_name: Link-
- author_email: [email protected]
32
+ author_email: '[email protected]'
33
message: 'Updating sha256 hash value'
34
add: 'README.md'
0 commit comments