Skip to content

Commit

Permalink
chore: update jira release workflow (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
hspitzley-czi authored Oct 2, 2024
1 parent dea8a11 commit c276d61
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/jira-release-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
steps:
- name: Fetch PRs with Jira References
id: fetchReleasedPRs
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const releaseBody = `${{ github.event.release.body }}`;
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
steps:
- name: Create Jira Version
id: createJiraVersion
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const versionTag = '${{ github.event.release.tag_name }}';
Expand Down Expand Up @@ -104,16 +104,16 @@ jobs:
pullRequestBody: ${{ fromJson(needs.find_released_prs.outputs.prBodyArray) }}
if: ${{ needs.find_released_prs.outputs.prBodyArray != '[]' }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Find Jira Marker
id: findJiraMarker
uses: chanzuckerberg/github-actions/.github/actions/jira-find-marker@jira-find-marker-v1.0.1
uses: chanzuckerberg/github-actions/.github/actions/jira-find-marker@jira-find-marker-v1.1.0
with:
pullRequestBody: ${{ matrix.pullRequestBody }}
projectKey: ${{ inputs.projectKey }}

- name: Update Fix Version of Referenced Jira Issue
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const jiraIssueRef = '${{ steps.findJiraMarker.outputs.jiraIssueReference }}'
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
steps:
- name: Release Jira Version
id: createJiraVersion
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const releaseDate = new Date().toISOString().slice(0, 10); // YYYY-MM-DD
Expand Down

0 comments on commit c276d61

Please sign in to comment.