Skip to content

Commit

Permalink
Revert "Test"
Browse files Browse the repository at this point in the history
This reverts commit f51fa3e.
  • Loading branch information
ayoy committed Sep 25, 2023
1 parent f51fa3e commit bfee4e6
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: PR Checks

on:
push:
branches: [ main, dominik/gha-pr-check-failed-improvements ]
branches: [ main ]
pull_request:

jobs:
Expand Down Expand Up @@ -38,7 +38,6 @@ jobs:

- name: Set cache key hash
run: |
exit 1
has_only_tags=$(jq '[ .pins[].state | has("version") ] | all' Package.resolved)
if [[ "$has_only_tags" == "true" ]]; then
echo "cache_key_hash=${{ hashFiles('Package.resolved') }}" >> $GITHUB_ENV
Expand Down Expand Up @@ -94,7 +93,7 @@ jobs:
path: build-log.txt

- name: Fetch latest commit author
if: always()
if: always() && github.ref_name == 'main'
id: fetch_commit_author
env:
GH_TOKEN: ${{ github.token }}
Expand All @@ -107,7 +106,7 @@ jobs:
name: Create Asana Task
needs: [swiftlint, unit-tests]

if: failure() && github.run_attempt == 1
if: failure() && github.ref_name == 'main' && github.run_attempt == 1

runs-on: ubuntu-latest

Expand All @@ -126,7 +125,7 @@ jobs:
name: Close Asana Task
needs: [swiftlint, unit-tests]

if: always() && github.run_attempt > 1
if: success() && github.ref_name == 'main' && github.run_attempt > 1

runs-on: ubuntu-latest

Expand Down

0 comments on commit bfee4e6

Please sign in to comment.