Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 5f57b80

Browse files
committed
fix(ci): allow pull_request workflow to run in merge queues
1 parent 8f56aa6 commit 5f57b80

File tree

1 file changed

+1
-26
lines changed

1 file changed

+1
-26
lines changed

Diff for: .github/workflows/pull_request.yml

+1-26
Original file line numberDiff line numberDiff line change
@@ -5,35 +5,14 @@ on:
55
name: Check pull request
66

77
concurrency:
8-
group: ${{ github.head_ref }}
8+
group: ${{ github.head_ref || github.ref_name }}
99
cancel-in-progress: true
1010

1111
env:
1212
SENTRY_DSN: 'https://[email protected]/project_id'
1313

1414
jobs:
15-
check-changed-files:
16-
runs-on: ubuntu-latest
17-
steps:
18-
- name: Checkout repository
19-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
20-
21-
- name: Check if relevant files have changed
22-
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
23-
id: service-changed
24-
with:
25-
result-encoding: string
26-
script: |
27-
const script = require('.github/check-changed-files.js')
28-
return await script({github, context})
29-
30-
- name: Fail if no files changed
31-
if: "${{ steps.service-changed.outputs.result != 'true' }}"
32-
shell: bash
33-
run: exit 1
34-
3515
check-codestyle:
36-
needs: [ "check-changed-files" ]
3716
runs-on: ubuntu-latest
3817
steps:
3918
- name: Checkout repository
@@ -64,7 +43,6 @@ jobs:
6443
path: build/reports/kotlin-build/
6544

6645
unit-tests:
67-
needs: [ "check-changed-files" ]
6846
runs-on: ubuntu-latest
6947
steps:
7048
- name: Checkout repository
@@ -102,7 +80,6 @@ jobs:
10280
path: build/reports/kotlin-build/
10381

10482
build-apks:
105-
needs: [ "check-changed-files" ]
10683
runs-on: ubuntu-latest
10784
steps:
10885
- name: Checkout repository
@@ -133,7 +110,6 @@ jobs:
133110
path: build/reports/kotlin-build/
134111

135112
check-api:
136-
needs: [ "check-changed-files" ]
137113
runs-on: ubuntu-latest
138114
steps:
139115
- name: Checkout repository
@@ -164,7 +140,6 @@ jobs:
164140
path: build/reports/kotlin-build/
165141

166142
lint:
167-
needs: [ "check-changed-files" ]
168143
runs-on: ubuntu-latest
169144
steps:
170145
- name: Checkout repository

0 commit comments

Comments
 (0)