Skip to content

Commit

Permalink
ci: Simplify date expression
Browse files Browse the repository at this point in the history
Updating the version of GHA's being used. One reason is to address
security concerns.
  • Loading branch information
alerickson0 committed Oct 2, 2024
1 parent 0198b77 commit 6c157b5
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ReleaseIssue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,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 }}

0 comments on commit 6c157b5

Please sign in to comment.