Pin GH actions to SHA to avoid mutable refs (#2126)

This commit is contained in:
Alexander Brandes
2023-03-06 13:51:53 +01:00
committed by GitHub
parent 7152fd2032
commit 94f57799d0
6 changed files with 21 additions and 36 deletions

View File

@@ -1,14 +1,12 @@
name: draft release
on:
push:
branches:
- main
pull_request:
types: [ opened, reopened, synchronize ]
types: [opened, reopened, synchronize]
pull_request_target:
types: [ opened, reopened, synchronize ]
types: [opened, reopened, synchronize]
jobs:
update_release_draft:
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}