mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-05-24 08:18:52 -03:00
try true rather than 'true'
This commit is contained in:
parent
73a29fd324
commit
91df2121b1
7
.github/workflows/sync-linguist.yml
vendored
7
.github/workflows/sync-linguist.yml
vendored
@ -68,6 +68,7 @@ jobs:
|
|||||||
git add .
|
git add .
|
||||||
git commit -m "Updated Linguist to ${{ steps.linguist-release.outputs.linguist_version }}"
|
git commit -m "Updated Linguist to ${{ steps.linguist-release.outputs.linguist_version }}"
|
||||||
git push --set-upstream origin ${{ steps.branch.outputs.branch_name }}
|
git push --set-upstream origin ${{ steps.branch.outputs.branch_name }}
|
||||||
|
echo "Changes committed. Will create PR."
|
||||||
echo "::set-output name=needs_pr::true"
|
echo "::set-output name=needs_pr::true"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
@ -77,14 +78,14 @@ jobs:
|
|||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
id: open-pr
|
id: open-pr
|
||||||
uses: repo-sync/pull-request@v2
|
uses: repo-sync/pull-request@v2
|
||||||
if: ${{ steps.commit.needs_pr == 'true' }}
|
if: ${{ steps.commit.needs_pr == true }}
|
||||||
with:
|
with:
|
||||||
destination_branch: "master"
|
destination_branch: "master"
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: output-url
|
- name: output-url
|
||||||
if: ${{ steps.commit.needs_pr == 'true' }}
|
if: ${{ steps.commit.needs_pr == true }}
|
||||||
run: echo ${{ steps.open-pr.outputs.pr_url }}
|
run: echo ${{ steps.open-pr.outputs.pr_url }}
|
||||||
- name: No PR Created
|
- name: No PR Created
|
||||||
if: ${{ steps.commit.needs_pr != 'true' }}
|
if: ${{ steps.commit.needs_pr != true }}
|
||||||
run: echo "No changes for ${{ steps.linguist-release.outputs.linguist_version }}"
|
run: echo "No changes for ${{ steps.linguist-release.outputs.linguist_version }}"
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user