From 3d3909232092562d1a6b963170a38914243eb566 Mon Sep 17 00:00:00 2001 From: alerickson0 <24833189+alerickson0@users.noreply.github.com> Date: Tue, 1 Oct 2024 15:34:18 -0700 Subject: [PATCH] ci: Testing updates manually Updating the version of GHA's being used. One reason is to address security concerns. --- .github/workflows/ReleaseIssue.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ReleaseIssue.yml b/.github/workflows/ReleaseIssue.yml index 010af74..2475057 100644 --- a/.github/workflows/ReleaseIssue.yml +++ b/.github/workflows/ReleaseIssue.yml @@ -2,8 +2,9 @@ name: Monthly Release Thread on: - schedule: - - cron: 0 0 1 * * # Every 1st day of the month at 0000 – https://crontab.guru + # schedule: + # - cron: 0 0 1 * * # Every 1st day of the month at 0000 – https://crontab.guru + workflow_dispatch: jobs: monthly_release: @@ -12,21 +13,28 @@ jobs: # Repo code checkout required if `template` is used - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Get current month for issue title - name: get-date id: date - run: echo "::set-output name=date::$(date +'%B %Y')" + run: | + release_thread_date="$(date +'%B %Y')" + echo "date=$release_thread_date" >> $GITHUB_OUTPUT # Create, pin, label, and assign release issue + - name: create-issue + id: extract + uses: imjohnbo/extract-issue-template-fields@v1 + with: + path: ".github/RELEASE_TEMPLATE.md" + - name: create-issue id: issue - uses: imjohnbo/issue-bot@v2 + uses: imjohnbo/issue-bot@v3 with: pinned: true close-previous: true title: "RELEASE THREAD: ${{ steps.date.outputs.date }}" - template: ".github/RELEASE_TEMPLATE.md" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}