From 57c2b4cb8b26134be5ef048b7872526e57369da9 Mon Sep 17 00:00:00 2001 From: Tobias Date: Mon, 15 Jul 2024 18:09:07 +0200 Subject: [PATCH 1/4] Update blank.yml --- .github/workflows/blank.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 9ec0efc..e17161a 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -17,7 +17,7 @@ jobs: approved-build: # The type of runner that the job will run on runs-on: ubuntu-latest - environment: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.author_association == 'OWNER' && "no-approval" || "approval" }} + environment: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.author_association == 'OWNER' && 'no-approval' || 'approval' }} # Steps represent a sequence of tasks that will be executed as part of the job steps: From 0c59649a19621204d2acb381f1f0a32043d945c7 Mon Sep 17 00:00:00 2001 From: Tobias Date: Mon, 15 Jul 2024 18:23:10 +0200 Subject: [PATCH 2/4] Update blank.yml --- .github/workflows/blank.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index e17161a..c7a096c 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -17,7 +17,7 @@ jobs: approved-build: # The type of runner that the job will run on runs-on: ubuntu-latest - environment: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.author_association == 'OWNER' && 'no-approval' || 'approval' }} + environment: ${{ github.event_name == 'pull_request_target' && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]', github.event.pull_request.author_association ) && 'no-approval' || 'approval' }} # Steps represent a sequence of tasks that will be executed as part of the job steps: From aa64eb13a81c810fa80450e5ac206ba0e050dd7d Mon Sep 17 00:00:00 2001 From: Tobias Date: Mon, 15 Jul 2024 18:24:04 +0200 Subject: [PATCH 3/4] Update blank.yml --- .github/workflows/blank.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index c7a096c..af9ea9d 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -17,7 +17,7 @@ jobs: approved-build: # The type of runner that the job will run on runs-on: ubuntu-latest - environment: ${{ github.event_name == 'pull_request_target' && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]', github.event.pull_request.author_association ) && 'no-approval' || 'approval' }} + environment: ${{ github.event_name == 'pull_request_target' && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.pull_request.author_association) && 'no-approval' || 'approval' }} # Steps represent a sequence of tasks that will be executed as part of the job steps: From 6674bbe0eb9a97c9689a6aefa4db5b1b6bc540e9 Mon Sep 17 00:00:00 2001 From: Tobias Date: Thu, 12 Dec 2024 11:17:32 +0100 Subject: [PATCH 4/4] Update blank.yml --- .github/workflows/blank.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index af9ea9d..33a9365 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -24,7 +24,7 @@ jobs: # Runs a single command using the runners shell - name: Run a one-line script - run: echo Hello, world! + run: echo ${{ github.event.pull_request.author_association }} # Runs a set of commands using the runners shell - name: Run a multi-line script