mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
gh_action: converted main.workflow to Actions V2 yml files
This commit is contained in:
parent
212e7be28c
commit
b64551718c
22
.github/main.workflow
vendored
22
.github/main.workflow
vendored
@ -1,22 +0,0 @@
|
||||
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"
|
||||
}
|
||||
}
|
16
.github/workflows/issue_comment.yml
vendored
Normal file
16
.github/workflows/issue_comment.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
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 }}
|
16
.github/workflows/issues.yml
vendored
Normal file
16
.github/workflows/issues.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
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 }}
|
16
.github/workflows/pull_request.yml
vendored
Normal file
16
.github/workflows/pull_request.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
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 }}
|
Loading…
Reference in New Issue
Block a user