Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update jira release workflow #318

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading