fix command #71
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
schedule: | |
- cron: '30 16 * * 1-5' # Run Monday through Friday at 9:30am | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 18.x | |
- name: Install Yarn | |
run: npm install -g yarn | |
- name: Install deps | |
run: | | |
yarn install | |
- uses: actions/checkout@v4 | |
with: | |
# Always checkout the main branch | |
# ref: main | |
# Do a deep checkout | |
fetch-depth: 0 | |
# Fetch all the release tags | |
fetch-tags: true | |
- name: Check for unreleased changes | |
id: get-diff-log | |
run: npm run unreleased-changes | |
- name: Unreleased changes Slack Report | |
uses: ravsamhq/notify-slack-action@v2 | |
if: ${{ env.LOG != '' }} # Only post if there is a log | |
with: | |
status: ${{ job.status }} | |
notify_when: 'success' | |
notification_title: 'Unreleased Changes in the CLI' | |
message_format: '${{ env.LOG }}' | |
footer: '<{run_url}|View Run> | <https://github.com/HubSpot/hubspot-cli/compare/${{env.LATEST_TAG}}...main|View latest Diff in GitHub> | | <https://github.com/HubSpot/hubspot-cli/compare/${{env.NEXT_TAG}}...main|View next Diff in GitHub>' | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }} |