Add .github/workflows/jira_push.yml
This commit is contained in:
26
.github/workflows/jira_push.yml
vendored
Normal file
26
.github/workflows/jira_push.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
name: Jira Push
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- "*"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
jira-push-event:
|
||||||
|
runs-on: self-hosted
|
||||||
|
if: github.event_name == 'push'
|
||||||
|
name: transition to in progress on push event
|
||||||
|
steps:
|
||||||
|
- name: transition to in progress on push event
|
||||||
|
uses: appleboy/jira-action@v0.3.0
|
||||||
|
with:
|
||||||
|
base_url: https://jira.ostiwe.com
|
||||||
|
insecure: false
|
||||||
|
token: ${{ secrets.JIRA_TOKEN }}
|
||||||
|
ref: ${{ github.event.head_commit.message }}
|
||||||
|
comment: |
|
||||||
|
🧑💻 [~${{ github.event.pusher.username }}] push code to repository
|
||||||
|
|
||||||
|
See the detailed information from [commit link|${{ github.event.head_commit.url }}].
|
||||||
|
|
||||||
|
${{ github.event.head_commit.message }}
|
||||||
Reference in New Issue
Block a user