Skip to content

Update main.yml

Update main.yml #8

Workflow file for this run

name: Run Release Tracker
on:
push:
branches:
- actions-test
jobs:
run-script:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- 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 }}
run: |
echo "$COMMIT_MESSAGE in script"
chmod +x ./release-tracker.sh
./release-tracker.sh
# run: |
# chmod +x ./path/to/your-script.sh
# ./path/to/your-script.sh "$COMMIT_MESSAGE"