|
@@ -53,6 +53,7 @@ jobs:
|
|
download:
|
|
download:
|
|
name: "Download changes"
|
|
name: "Download changes"
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
|
|
+ needs: upload
|
|
if: ${{ inputs.mode != 'Upload only' }}
|
|
if: ${{ inputs.mode != 'Upload only' }}
|
|
steps:
|
|
steps:
|
|
- name: Checkout
|
|
- name: Checkout
|
|
@@ -77,14 +78,14 @@ jobs:
|
|
if: ${{ steps.download-languages.outputs.HAS_CHANGES == 'true' }}
|
|
if: ${{ steps.download-languages.outputs.HAS_CHANGES == 'true' }}
|
|
run: |
|
|
run: |
|
|
git push --set-upstream origin $(git rev-parse --abbrev-ref HEAD)
|
|
git push --set-upstream origin $(git rev-parse --abbrev-ref HEAD)
|
|
- # - name: Create Pull Request
|
|
|
|
- # if: ${{ steps.download-languages.outputs.HAS_CHANGES == 'true' }}
|
|
|
|
- # run: |
|
|
|
|
- # gh pr create --title "Language Update ${{ github.run_number }}" \
|
|
|
|
- # --body "This PR was created automatically.
|
|
|
|
|
|
+ - name: Create Pull Request
|
|
|
|
+ if: ${{ steps.download-languages.outputs.HAS_CHANGES == 'true' }}
|
|
|
|
+ run: |
|
|
|
|
+ gh pr create --title "Language Update ${{ github.run_number }}" \
|
|
|
|
+ --body "This PR was created automatically.
|
|
|
|
|
|
- # https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs/${{ github.job }}" \
|
|
|
|
- # --base master \
|
|
|
|
- # --head $(git rev-parse --abbrev-ref HEAD)
|
|
|
|
- # env:
|
|
|
|
- # GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
+ https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs/${{ github.job }}" \
|
|
|
|
+ --base master \
|
|
|
|
+ --head $(git rev-parse --abbrev-ref HEAD)
|
|
|
|
+ env:
|
|
|
|
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|