mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-10 12:22:27 +03:00
github/submodule-update: steps.check_for_changes condition not working
* Now I'm guessing at what the syntax needs to be, but the bare `steps.check_for_changes.outputs.changes` results in it being considerd `null` for the check.
This commit is contained in:
parent
859fe81d71
commit
ede69a9012
6
.github/workflows/submodule-update.yml
vendored
6
.github/workflows/submodule-update.yml
vendored
@ -43,14 +43,14 @@ jobs:
|
|||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
- name: Create submodules changes branch
|
- name: Create submodules changes branch
|
||||||
if: steps.check_for_changes.outputs.changes == 'true'
|
if: ${{ steps.check_for_changes.outputs.changes }} == 'true'
|
||||||
run: |
|
run: |
|
||||||
git checkout -b $GITHUB_RUN_ID
|
git checkout -b $GITHUB_RUN_ID
|
||||||
git commit -am "updating submodules"
|
git commit -am "updating submodules"
|
||||||
git push --set-upstream origin $GITHUB_RUN_ID
|
git push --set-upstream origin $GITHUB_RUN_ID
|
||||||
|
|
||||||
- name: Create pull request against target branch
|
- name: Create pull request against target branch
|
||||||
if: steps.check_for_changes.outputs.changes == 'true'
|
if: ${{ steps.check_for_changes.outputs.changes }} == 'true'
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
github-token: ${{ inputs.github_token }}
|
github-token: ${{ inputs.github_token }}
|
||||||
@ -65,7 +65,7 @@ jobs:
|
|||||||
});
|
});
|
||||||
|
|
||||||
- name: Add labels
|
- name: Add labels
|
||||||
if: steps.check_for_changes.outputs.changes == 'true'
|
if: ${{ steps.check_for_changes.outputs.changes }} == 'true'
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
github-token: ${{ inputs.github_token }}
|
github-token: ${{ inputs.github_token }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user