Skip to content

Commit

Permalink
chore(gh-action): rename misnamed check-dockerhub-token job
Browse files Browse the repository at this point in the history
[skip ci]

Signed-off-by: Clément Nussbaumer <[email protected]>
  • Loading branch information
clementnuss committed Mar 28, 2023
1 parent 67988ab commit 01d809e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish
on: [push]

jobs:
check-gh-token:
check-dockerhub-token:
runs-on: ubuntu-latest
outputs:
HAS_DOCKERHUB_TOKEN: ${{ steps.gh-token.outputs.HAS_DOCKERHUB_TOKEN }}
Expand Down Expand Up @@ -110,11 +110,11 @@ jobs:
needs:
- lint
- test
- check-gh-token
- check-dockerhub-token
if: |
startsWith(github.ref, 'refs/tags/v') &&
!github.event.pull_request.head.repo.fork &&
needs.check-gh-token.outputs.HAS_DOCKERHUB_TOKEN == 'true'
needs.check-dockerhub-token.outputs.HAS_DOCKERHUB_TOKEN == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -142,11 +142,11 @@ jobs:
needs:
- lint
- test-helm
- check-gh-token
- check-dockerhub-token
if: |
startsWith(github.ref, 'refs/tags/v') &&
!github.event.pull_request.head.repo.fork &&
needs.check-gh-token.outputs.HAS_DOCKERHUB_TOKEN == 'true'
needs.check-dockerhub-token.outputs.HAS_DOCKERHUB_TOKEN == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -168,11 +168,11 @@ jobs:
needs:
- lint
- test
- check-gh-token
- check-dockerhub-token
if: |
github.ref == 'refs/heads/main' &&
!github.event.pull_request.head.repo.fork &&
needs.check-gh-token.outputs.HAS_DOCKERHUB_TOKEN == 'true'
needs.check-dockerhub-token.outputs.HAS_DOCKERHUB_TOKEN == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -199,11 +199,11 @@ jobs:
needs:
- lint
- test
- check-gh-token
- check-dockerhub-token
if: |
startsWith(github.ref, 'refs/heads/feat') &&
!github.event.pull_request.head.repo.fork &&
needs.check-gh-token.outputs.HAS_DOCKERHUB_TOKEN == 'true'
needs.check-dockerhub-token.outputs.HAS_DOCKERHUB_TOKEN == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 01d809e

Please sign in to comment.