2021-11-09 01:39:10 -05:00
|
|
|
name: Sync approved PRs to internal codebase
|
2021-09-03 04:51:09 -04:00
|
|
|
on:
|
2021-11-09 01:39:10 -05:00
|
|
|
pull_request_target:
|
|
|
|
types: [labeled]
|
2021-09-03 04:51:09 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
sync_prs_to_internal_codebase:
|
|
|
|
name: GitHub PR to Internal Codebase Sync
|
|
|
|
runs-on: ubuntu-latest
|
2021-11-09 01:39:10 -05: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 04:51:09 -04:00
|
|
|
steps:
|
2023-10-30 04:13:10 -04:00
|
|
|
- uses: actions/checkout@v3
|
2021-11-09 01:39:10 -05:00
|
|
|
- name: Sync approved PRs to internal codebase
|
2021-09-03 04:51:09 -04:00
|
|
|
uses: espressif/github-actions/github_pr_to_internal_pr@master
|
|
|
|
env:
|
2021-11-09 01:39:10 -05:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2021-09-03 04:51:09 -04: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
|