forked from rook/rook
The openSSF scorecard report warns that the github actions are not pinned by hash. This PR aims at improving this by pinning the auto-assign.yaml workflow by hash. Signed-off-by: harshitasao <harshitasao@gmail.com>
23 lines
580 B
YAML
23 lines
580 B
YAML
name: Assign issue to contributor
|
|
on:
|
|
issue_comment:
|
|
types: [created, edited]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
assign:
|
|
permissions:
|
|
# write permissions are needed to assign the issue.
|
|
issues: write
|
|
name: Run self assign job
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: take the issue
|
|
uses: bdougie/take-action@1439165ac45a7461c2d89a59952cd7d941964b87 # main
|
|
with:
|
|
message: Thanks for taking this issue! Let us know if you have any questions!
|
|
trigger: /assign
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|