Skip to content

Commit 234cd37

Browse files
committed
Improve security of our GitHub Actions
1 parent 81e188c commit 234cd37

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/mypy_primer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,4 @@ jobs:
106106
- name: Call comments workflow
107107
uses: python/mypy/.github/workflows/mypy_primer_comment.yml@master
108108
with:
109-
workflow_id: ${{ workflow.id }}
109+
workflow_id: ${{ github.run_id }}

.github/workflows/mypy_primer_comment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: Comment with mypy_primer diff
22

33
on:
44
workflow_call:
5-
input:
5+
inputs:
66
workflow_id:
77
required: true
8-
type: integer
8+
type: number
99

1010

1111
jobs:

0 commit comments

Comments
 (0)