File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
build :
10
- name : remove prefixes
11
10
runs-on : ubuntu-latest
12
11
steps :
13
12
- uses : actions/checkout@v3
23
22
mv -n $file $justpath/$justfile
24
23
fi
25
24
done
26
- git log -1 --format='%H' > latestCommit.md
27
25
git add .
28
26
git config --global user.email "[email protected] "
29
27
git config --global user.name "ActionBot"
30
- git commit -m 'test '
28
+ git commit -m 'remove file prefixes '
31
29
git push -f
32
30
git reset origin/development --soft
Original file line number Diff line number Diff line change
1
+ name : Update Commit Hash
2
+
3
+ on :
4
+ pull_request :
5
+ workflow_dispatch :
6
+
7
+ jobs :
8
+ update_commit_hash :
9
+ permissions : write-all
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - uses : actions/checkout@v2
13
+ - name : Update file with merge commit hash
14
+ run : |
15
+ git pull origin development --rebase
16
+ git log -1 --format='%H' > latestCommit.md
17
+ git config --global user.email "[email protected] "
18
+ git config --global user.name "ActionBot"
19
+ git add latestCommit.md
20
+ git commit -m 'update commit hash'
21
+ git push -f
22
+ git reset origin/development --soft
You can’t perform that action at this time.
0 commit comments