Skip to content

Commit

Permalink
Convert JIRA_BASE_URL to org variable
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell committed Aug 8, 2023
1 parent 0296c5e commit 19bc15c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/jira.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ jobs:
jira:
uses: acquia/.github/.github/workflows/jira.yml@main
secrets:
jira-base-url: ${{ secrets.JIRA_BASE_URL }}
jira-api-token: ${{ secrets.JIRA_API_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
env:
GITHUB_ACTIONS_RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
RELEASE_BODY: ${{ github.event.release.body }}
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_BASE_URL: ${{ vars.JIRA_BASE_URL }}
run: |
${GITHUB_WORKSPACE}/.github/workflows/create-ccb-ticket.sh "$RELEASE_BODY" "${{ github.event.release.name }}" "${{ github.event.release.html_url }}" "$GITHUB_ACTIONS_RUN_URL" "$JIRA_BASE_URL" >> jira_description.md
JIRA_DESCRIPTION=$(<jira_description.md)
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Login to Jira
uses: acquia/gajira-login@bearer
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_BASE_URL: ${{ vars.JIRA_BASE_URL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
- name: Create CCB ticket in Jira
id: create
Expand Down

0 comments on commit 19bc15c

Please sign in to comment.