test #17
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: Update Flex endpoint | |
on: | |
push: | |
branches: | |
- main | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
call-flex-update: | |
uses: symfony/recipes/.github/workflows/callable-flex-update.yml@main | |
with: | |
contrib: true | |
duplicate-index: | |
name: Duplicate index.json into main branch | |
runs-on: Ubuntu-20.04 | |
needs: [call-flex-update] | |
steps: | |
- | |
name: Checkout git repository | |
uses: actions/checkout@v3 | |
id: checkout | |
with: | |
fetch-depth: 0 | |
- name: Configure git | |
run: | | |
git config --global user.email "" | |
git config --global user.name "github-action[bot]" | |
- | |
name: Merge updates back into main branch | |
run: | | |
git branch | |
git status | |
git merge flex/main | |
git push main |