Skip to content

Commit

Permalink
Revert "Test"
Browse files Browse the repository at this point in the history
This reverts commit dcd6180.
  • Loading branch information
ayoy committed Sep 25, 2023
1 parent dcd6180 commit 42b65f8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 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: [ develop, "release/**", dominik/gha-pr-check-failed-improvements ]
branches: [ develop, "release/**" ]
pull_request:

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

- name: Set cache key hash
run: |
exit 1
has_only_tags=$(jq '[ .object.pins[].state | has("version") ] | all' DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved)
if [[ "$has_only_tags" == "true" ]]; then
echo "cache_key_hash=${{ hashFiles('DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved') }}" >> $GITHUB_ENV
Expand Down Expand Up @@ -117,7 +116,7 @@ jobs:
| xargs -L 1 ./scripts/report-failed-unit-test.sh -s ${{ vars.APPLE_CI_FAILING_TESTS_FAILED_TESTS_SECTION_ID }}
- name: Fetch latest commit author
if: always()
if: always() && github.ref_name == 'develop'
id: fetch_commit_author
env:
GH_TOKEN: ${{ github.token }}
Expand Down Expand Up @@ -147,7 +146,6 @@ jobs:

- name: Set cache key hash
run: |
exit 1
has_only_tags=$(jq '[ .object.pins[].state | has("version") ] | all' DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved)
if [[ "$has_only_tags" == "true" ]]; then
echo "cache_key_hash=${{ hashFiles('DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved') }}" >> $GITHUB_ENV
Expand Down Expand Up @@ -193,7 +191,7 @@ jobs:
name: Create Asana Task
needs: [swiftlint, unit-tests, shellcheck, release-build]

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

runs-on: ubuntu-latest

Expand All @@ -210,7 +208,7 @@ jobs:
name: Close Asana Task
needs: [swiftlint, unit-tests, shellcheck, release-build]

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

runs-on: ubuntu-latest

Expand Down

0 comments on commit 42b65f8

Please sign in to comment.