Skip to content

Commit 8edfbc9

Browse files
ci: fix GHA conditional
1 parent 729c2a7 commit 8edfbc9

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/main.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
uses: github-actions-x/commit@v2.9
8484
with:
8585
github-token: ${{ secrets.GITHUB_TOKEN }}
86-
commit-message: 'style: beautify ${{ github.sha }}'
86+
commit-message: "style: beautify ${{ github.sha }}"
8787
name: github-actions
8888
email: action@github.com
8989

@@ -98,18 +98,18 @@ jobs:
9898
runs-on: ubuntu-latest
9999
concurrency: push
100100
needs: [test, mypy, beautify]
101-
if: github.repository == 'relekang/python-semantic-release'
101+
if: github.repository == 'python-semantic-release/python-semantic-release'
102102

103103
steps:
104-
- uses: actions/checkout@v3
105-
with:
106-
fetch-depth: 0
107-
ref: ${{ needs.beautify.outputs.new_sha }}
108-
- name: Fetch master
109-
run: git fetch --prune origin +refs/heads/master:refs/remotes/origin/master
110-
- name: Python Semantic Release
111-
uses: ./
112-
with:
113-
github_token: ${{ secrets.GITHUB_TOKEN }}
114-
repository_username: ${{ secrets.PYPI_USERNAME }}
115-
repository_password: ${{ secrets.PYPI_PASSWORD }}
104+
- uses: actions/checkout@v3
105+
with:
106+
fetch-depth: 0
107+
ref: ${{ needs.beautify.outputs.new_sha }}
108+
- name: Fetch master
109+
run: git fetch --prune origin +refs/heads/master:refs/remotes/origin/master
110+
- name: Python Semantic Release
111+
uses: ./
112+
with:
113+
github_token: ${{ secrets.GITHUB_TOKEN }}
114+
repository_username: ${{ secrets.PYPI_USERNAME }}
115+
repository_password: ${{ secrets.PYPI_PASSWORD }}

0 commit comments

Comments
 (0)