+++ /dev/null
-workflow "Sync issues to JIRA" {
- on = "issues"
- resolves = ["Sync to JIRA"]
-}
-
-workflow "Sync issue and PR comments to JIRA" {
- on = "issue_comment"
- resolves = ["Sync to JIRA"]
-}
-
-workflow "Sync PRs to JIRA" {
- on = "pull_request"
- resolves = ["Sync to JIRA"]
-}
-
-action "Sync to JIRA" {
- uses = "espressif/github-actions/sync_issues_to_jira@master"
- secrets = ["GITHUB_TOKEN", "JIRA_URL", "JIRA_USER", "JIRA_PASS"]
- env = {
- JIRA_PROJECT = "IDFGH"
- }
-}
--- /dev/null
+on: issue_comment
+name: Sync issue and PR comments to JIRA
+jobs:
+ syncToJIRA:
+ name: Sync to JIRA
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - name: Sync to JIRA
+ uses: espressif/github-actions/sync_issues_to_jira@master
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ JIRA_PASS: ${{ secrets.JIRA_PASS }}
+ JIRA_PROJECT: IDFGH
+ JIRA_URL: ${{ secrets.JIRA_URL }}
+ JIRA_USER: ${{ secrets.JIRA_USER }}
--- /dev/null
+on: issues
+name: Sync issues to JIRA
+jobs:
+ syncToJIRA:
+ name: Sync to JIRA
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - name: Sync to JIRA
+ uses: espressif/github-actions/sync_issues_to_jira@master
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ JIRA_PASS: ${{ secrets.JIRA_PASS }}
+ JIRA_PROJECT: IDFGH
+ JIRA_URL: ${{ secrets.JIRA_URL }}
+ JIRA_USER: ${{ secrets.JIRA_USER }}
--- /dev/null
+on: pull_request
+name: Sync PRs to JIRA
+jobs:
+ syncToJIRA:
+ name: Sync to JIRA
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@master
+ - name: Sync to JIRA
+ uses: espressif/github-actions/sync_issues_to_jira@master
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ JIRA_PASS: ${{ secrets.JIRA_PASS }}
+ JIRA_PROJECT: IDFGH
+ JIRA_URL: ${{ secrets.JIRA_URL }}
+ JIRA_USER: ${{ secrets.JIRA_USER }}