Skip to content

Commit

Permalink
fix: minor issues (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
TGTGamer authored Jul 19, 2020
1 parent e7cc901 commit be757c3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ jobs:
- path-labeler
- pr-labeler
- auto-approve
- wip
- semantic
runs-on: ubuntu-latest
steps:
- uses: technote-space/load-config-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ jobs:
push_options: ${{env.copyfilesPush_options}}
- name: Delete branch
uses: dawidd6/action-delete-branch@v3
if: ${{steps.commit.outputs.changes_detected}} == false && ${{env.copyEnable}} == true
if: ( ${{steps.commit.outputs.changes_detected}} == false && ${{env.copyEnable}} == true )
with:
github_token: ${{github.token}}
branches: ${{env.copyfilesBranch}}-${{github.run_id}}
- name: Sync workflows
if: ${{env.copyEnable}} == true
if: ( ${{steps.commit.outputs.changes_detected}} == true && ${{env.copyEnable}} == true )
uses: repo-sync/pull-request@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,13 @@ jobs:
push_options: ${{env.changelogPush_options}}
- name: Delete branch
uses: dawidd6/action-delete-branch@v3
if: ${{steps.commit.outputs.changes_detected}} == false && ${{env.changelog}} == true
if: ( ${{steps.commit.outputs.changes_detected}} == false && ${{env.changelog}} == true )
with:
github_token: ${{github.token}}
branches: ${{env.changelogBranch}}-${{github.run_id}}
- name: pull-request
uses: repo-sync/pull-request@v2
if: ${{steps.commit.outputs.changes_detected}} == true && ${{env.changelog}} == true
if: ( ${{steps.commit.outputs.changes_detected}} == true && ${{env.changelog}} == true )
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
source_branch: ${{env.changelogBranch}}-${{github.run_id}}
Expand Down

0 comments on commit be757c3

Please sign in to comment.