2021-11-09 06:39:10 +00:00
|
|
|
name: Sync approved PRs to internal codebase
|
2021-09-03 08:51:09 +00:00
|
|
|
on:
|
2021-11-09 06:39:10 +00:00
|
|
|
pull_request_target:
|
|
|
|
types: [labeled]
|
2021-09-03 08:51:09 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
sync_prs_to_internal_codebase:
|
|
|
|
name: GitHub PR to Internal Codebase Sync
|
|
|
|
runs-on: ubuntu-latest
|
2021-11-09 06:39:10 +00:00
|
|
|
if: (github.event.label.name == 'PR-Sync-Merge') ||
|
|
|
|
(github.event.label.name == 'PR-Sync-Rebase') ||
|
|
|
|
(github.event.label.name == 'PR-Sync-Update')
|
2021-09-03 08:51:09 +00:00
|
|
|
steps:
|
2022-03-05 06:53:31 +00:00
|
|
|
- uses: actions/checkout@v2
|
2021-11-09 06:39:10 +00:00
|
|
|
- name: Sync approved PRs to internal codebase
|
2021-09-03 08:51:09 +00:00
|
|
|
uses: espressif/github-actions/github_pr_to_internal_pr@master
|
|
|
|
env:
|
2021-11-09 06:39:10 +00:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2021-09-03 08:51:09 +00:00
|
|
|
GITLAB_URL: ${{ secrets.GITLAB_URL }}
|
|
|
|
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
|
|
|
|
GIT_CONFIG_NAME: ${{ secrets.GIT_CONFIG_NAME }}
|
|
|
|
GIT_CONFIG_EMAIL: ${{ secrets.GIT_CONFIG_EMAIL }}
|
|
|
|
JIRA_PROJECT: IDFGH
|