File tree 1 file changed +8
-7
lines changed
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: Run Release Tracker
3
3
on :
4
4
push :
5
5
branches :
6
- - actions-test
6
+ - gh-pages
7
7
8
8
jobs :
9
9
run-script :
@@ -15,14 +15,15 @@ jobs:
15
15
16
16
- name : Get Commit Message
17
17
id : commit-message
18
- run : echo "{commit- message}={ $(git log -1 --pretty=%B)} " >> $GITHUB_OUTPUT
18
+ run : echo "message= $(git log -1 --pretty=%B)" >> $GITHUB_OUTPUT
19
19
20
-
21
20
- name : Run Bash Script
22
21
env :
23
22
COMMIT_MESSAGE : ${{ steps.commit-message.outputs.message }}
23
+ REPO_NAME : ${{ github.repository }}
24
+ GITHUB_TOKEN : ${{ secrets.RELEASE_TOKEN }}
24
25
run : |
25
- echo "$COMMIT_MESSAGE in script "
26
- # run: |
27
- # chmod +x ./path/to/your-script .sh
28
- # ./path/to/your-script .sh "$COMMIT_MESSAGE"
26
+ echo "Current commit message: $COMMIT_MESSAGE "
27
+ echo "Repo Name: $REPO_NAME"
28
+ chmod +x ./release-tracker-github .sh
29
+ ./release-tracker-github .sh
You can’t perform that action at this time.
0 commit comments