ci(github-precommit): Add skipping rules with submodules in pre-commit (IDFGH-11170) #2304
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync approved PRs to internal codebase | |
on: | |
pull_request_target: | |
types: [labeled] | |
jobs: | |
sync_prs_to_internal_codebase: | |
name: GitHub PR to Internal Codebase Sync | |
runs-on: ubuntu-latest | |
if: (github.event.label.name == 'PR-Sync-Merge') || | |
(github.event.label.name == 'PR-Sync-Rebase') || | |
(github.event.label.name == 'PR-Sync-Update') | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Sync approved PRs to internal codebase | |
uses: espressif/github-actions/github_pr_to_internal_pr@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
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 |