mirror of
https://github.com/irongut/CodeCoverageSummary.git
synced 2026-05-19 00:10:14 +02:00
use StepSecurity Secure Workflows for project management #49
This commit is contained in:
@@ -7,11 +7,22 @@ on:
|
||||
pull_request:
|
||||
types: [opened]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
assignAuthor:
|
||||
permissions:
|
||||
pull-requests: write # for samspills/assign-pr-to-author
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Harden Runner
|
||||
uses: step-security/harden-runner@74b568e8591fbb3115c70f3436a0c6b0909a8504
|
||||
with:
|
||||
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs
|
||||
|
||||
- name: Auto Assign PR
|
||||
uses: samspills/assign-pr-to-author@v1.0.1
|
||||
uses: samspills/assign-pr-to-author@223a87a821f7e7447cfb5221bc53ceeb633341c2
|
||||
with:
|
||||
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||
|
||||
Reference in New Issue
Block a user