Skip to content

Commit ada533d

Browse files
committed
chore: remove permission check for pull_request events
1 parent 7690fa4 commit ada533d

File tree

3 files changed

+33
-137
lines changed

3 files changed

+33
-137
lines changed

.github/workflows/on_pr_changed.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: 'on: pr changed'
2+
3+
on:
4+
pull_request:
5+
pull_request_target:
6+
7+
jobs:
8+
build_example:
9+
name: Build example
10+
if: ${{ contains(github.event.pull_request.labels.*.name, 'ci:build_example') }}
11+
uses: ./.github/workflows/run_build_example.yml
12+
with:
13+
target_branch: ${{ github.event.pull_request.head.ref }}
14+
issue_number: ${{ github.event.pull_request.number }}
15+
secrets:
16+
APP_ID: ${{ secrets.APP_ID }}
17+
BUILD_PROVISION_PROFILE_UUID: ${{ secrets.BUILD_PROVISION_PROFILE_UUID }}
18+
BUILD_PROVISION_PROFILE_NAME: ${{ secrets.BUILD_PROVISION_PROFILE_NAME }}
19+
BUILD_PROVISION_PROFILE_TEAMID: ${{ secrets.BUILD_PROVISION_PROFILE_TEAMID }}
20+
BUILD_PROVISION_PROFILE_IDENTITY: ${{ secrets.BUILD_PROVISION_PROFILE_IDENTITY }}
21+
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
22+
P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
23+
BUILD_PROVISION_PROFILE_BASE64: ${{ secrets.BUILD_PROVISION_PROFILE_BASE64 }}
24+
KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
25+
26+
27+
run_test:
28+
name: Run test
29+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'ci:skip') }}
30+
uses: ./.github/workflows/run_test.yml
31+
secrets:
32+
APP_ID: ${{ secrets.APP_ID }}
33+

.github/workflows/on_pr_external.yml

Lines changed: 0 additions & 80 deletions
This file was deleted.

.github/workflows/on_pr_internal.yml

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)