Skip to content

Commit

Permalink
Can be used as this?
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Sep 27, 2023
1 parent dac25a1 commit c1ba1a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-nixpkgs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ jobs:
count="$(git rev-list --count main..)"
echo "count=${count}" | tee -a "$GITHUB_OUTPUT"
- run: git push origin "${PR_BRANCH}"
if: (github.event_name != 'pull_request') && (${{ steps.count-commits.outputs.count }} > 0)
if: (github.event_name != 'pull_request') && (steps.count-commits.outputs.count > 0)
- name: Create PR
if: (github.event_name != 'pull_request') && (${{ steps.count-commits.outputs.count }} > 0)
if: (github.event_name != 'pull_request') && (steps.count-commits.outputs.count > 0)
env:
GITHUB_TOKEN: ${{ steps.publish-token.outputs.token }}
run: |
Expand Down

0 comments on commit c1ba1a4

Please sign in to comment.