From 9af90463f767600037fd4ceedc81374cd5564d62 Mon Sep 17 00:00:00 2001 From: Joe Yeager Date: Fri, 27 Sep 2024 12:04:38 -0700 Subject: [PATCH] Comments and add a ref --- .github/workflows/unreleaseChangesCheck.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unreleaseChangesCheck.yml b/.github/workflows/unreleaseChangesCheck.yml index 84d2b3997..c053cca90 100644 --- a/.github/workflows/unreleaseChangesCheck.yml +++ b/.github/workflows/unreleaseChangesCheck.yml @@ -3,14 +3,18 @@ on: branches: - jy/add-release-check-action schedule: - - cron: '0 9 * * *' # Run day at 9am + - cron: '0 9 * * *' # Run daily at 9am jobs: build: runs-on: ubuntu-latest steps: - 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 run: |