From 1371df61a41a7cb4df26331c24730b3c274b35da Mon Sep 17 00:00:00 2001 From: Bas de Wit Date: Fri, 12 Apr 2024 13:38:35 +0200 Subject: [PATCH] feat: link the pr to solved jira If the PR message contains a (re-)solves reference to a JIRA issue. The add-jira-link-pr-open.yml GitHub action will create a link in JIRA to this PR. Resolves PZ-2089 --- scripts/github/.secrets-sample | 2 ++ scripts/github/README.md | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/scripts/github/.secrets-sample b/scripts/github/.secrets-sample index a08fe0ead5..a4eeef867e 100644 --- a/scripts/github/.secrets-sample +++ b/scripts/github/.secrets-sample @@ -1,2 +1,4 @@ # Create you're own .secrets file and set all secrets that will be loaded by ACT GITHUB_TOKEN=github-token +JIRA_URL=jira-url +JIRA_TOKEN=jira-token diff --git a/scripts/github/README.md b/scripts/github/README.md index df2e57f0d0..ce5ae525fe 100644 --- a/scripts/github/README.md +++ b/scripts/github/README.md @@ -34,3 +34,9 @@ There's a script that kicks off act in the correct location: This script can be used to test the whole flow, or you can adjust it so that it only runs a single job. + +# Sample GitHub events +The [sample-events](./sample-events) directory contains sample json events that +will be generated by GitHub in case of events. It only contains those samples +currently used for testing, more samples can be copied from the +[mixu/identify-github-event](https://github.com/mixu/identify-github-event) repository.