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 ae227f4
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ReleaseIssue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,26 @@ 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: echo "date=$(date +'%B %Y')" >> $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 ae227f4

Please sign in to comment.