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: | |
branches: | |
- jy/add-release-check-action | |
schedule: | |
- cron: '0 9 * * *' # Run day at 9am | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
fetch-tags: true | |
- name: Check for unreleased changes | |
run: | | |
export LOG=`git log $(git describe --tags --abbrev=0)..HEAD --pretty=format:'- %s – @%al.' --no-merges` | |
echo $LOG | |
# - name: Unreleased changes Slack Report | |
# uses: ravsamhq/notify-slack-action@v2 | |
# if: ${{ always() && github.ref_name == 'main' }} | |
# with: | |
# status: ${{ job.status }} | |
# notify_when: 'success' | |
# notification_title: 'CLI latest release failure' | |
# message_format: '*Unreleased CLI Changes*' | |
# footer: '<{run_url}|View Run> | <https://www.npmjs.com/package/@hubspot/cli?activeTab=versions|View in NPM>' | |
# env: | |
# SLACK_WEBHOOK_URL: ${{ secrets.ACTION_MONITORING_SLACK }} |