Skip to content

Update main.yml point#4 #19

Update main.yml point#4

Update main.yml point#4 #19

Workflow file for this run

name: Run Release Tracker
on:
push:
branches:
- gh-pages
jobs:
run-script:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/[email protected]
- name: Get Commit Message
id: commit-message
run: echo "message=$(git log -1 --pretty=%B)" >> $GITHUB_OUTPUT
- name: Run Bash Script
env:
COMMIT_MESSAGE: ${{ steps.commit-message.outputs.message }}
REPO_NAME: ${{ github.repository }}
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
run: |
echo "Current commit message: $COMMIT_MESSAGE"
echo "Repo Name: $REPO_NAME"
chmod +x ./release-tracker-github.sh
./release-tracker-github.sh