Skip to content

Commit

Permalink
update common files
Browse files Browse the repository at this point in the history
  • Loading branch information
bigorn0 committed Jun 28, 2024
1 parent 34b0c89 commit 45dfe8e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fake-pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
with:
name: Run PR tests (Plugins) (Plugins)
conclusion: success
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
29 changes: 17 additions & 12 deletions .github/workflows/jira_link_to_pr.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
name: PR tests
# https://github.com/marketplace/actions/jira-description
# Requires a JIRA REST api token: https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/
# https://id.atlassian.com/manage-profile/security/api-tokens to generate one with you username
# Configure the JIRA_TOKEN secret as a repository action secret as described below:
# follow the pattern: <username>:<api token from jira>
name: jira-description-action
on:
pull_request:
types: [auto_merge_enabled]
workflow_dispatch:

types: [opened, reopened]
jobs:
skip:
name: Report fake success for PR tests
add-jira-description:
runs-on: ubuntu-latest
permissions:
checks: write
steps:
- uses: LouisBrunner/[email protected]
- uses: cakeinpanic/[email protected]
name: jira-description-action
with:
name: Run PR tests (Plugins) (Plugins)
conclusion: success
token: ${{ secrets.GITHUB_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
jira-token: ${{ secrets.JIRA_TOKEN }}
jira-base-url: https://hackolade.atlassian.net
skip-branches: '^(develop|main|master)$' #optional
jira-project-key: 'HCK' #optional
use: 'both'
fail-when-jira-issue-not-found: false

0 comments on commit 45dfe8e

Please sign in to comment.