Skip to content

Commit e81d6b3

Browse files
authored
fix(ci): cond doesnt support two expr w/ env
1 parent e38e96e commit e81d6b3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/reusable_export_pr_details.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Export previously recorded PR
22

3-
env:
4-
TRUSTED_ORIGIN: "heitorlessa/aws-lambda-powertools-python"
5-
63
on:
74
workflow_call:
85
inputs:
@@ -40,7 +37,7 @@ on:
4037

4138
jobs:
4239
export_pr_details:
43-
if: inputs.workflow_origin == ${{ env.TRUSTED_ORIGIN }}
40+
if: inputs.workflow_origin == 'heitorlessa/aws-lambda-powertools-python'
4441
runs-on: ubuntu-latest
4542
env:
4643
FILENAME: pr.txt

0 commit comments

Comments
 (0)