Skip to content

Commit

Permalink
🐛 Debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaoz-Topsy committed Mar 7, 2024
1 parent 15db4f2 commit 1095f62
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/commit-message-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,33 +22,32 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Get PR Commits
id: 'get-pr-commits'
uses: tim-actions/get-pr-commits@master
with:
token: ${{ secrets.CHECK_COMMIT_GITHUB_TOKEN }}

- name: WIP notice
run: echo "This is WIP (work in progress)"

- name: Setup variables
run: |
documentationUrl=$(cat ./public/CNAME)
echo "DOCUMENTATION_URL=${documentationUrl}" >> $GITHUB_ENV
- name: Check PR commits
run: |
commits = ${{ steps.get-pr-commits.outputs.commits }}
for value in "${commits[@]}"
do
echo "Value for item array is: $value"
done
echo ${{ steps.get-pr-commits.outputs.commits }} > commits.json
cat commits.json
- name: WIP notice
run: |
echo "This is WIP (work in progress)"
cat ./public/CNAME
- name: Post PR Comment
if: failure()
uses: mshick/add-pr-comment@v2
with:
message: Please check the commit messages in this PR! It seems that you have not used emojis, this is a requirement for this project as per our documentation (https://${{ env.DOCUMENTATION_URL }})
message: Please check the commit messages in this PR! It seems that you have not used emojis, this is a requirement for this project as per our documentation ${{ env.DOCUMENTATION_URL }}
refresh-message-position: true
allow-repeats: true
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"nojekyll",
"pkief",
"seatonjiang",
"sergeysova",
"solidjs",
"tada",
"TLDR",
Expand Down

0 comments on commit 1095f62

Please sign in to comment.