0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-02-17 22:04:19 -05:00

chore: fix and dedup workflow runs (#1774)

* chore: fix and dedup workflow runs

* chore: dedup workflow runs
This commit is contained in:
Gao Sun 2022-08-14 22:19:34 +08:00 committed by GitHub
parent 0503b30121
commit 5447a7c5fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,6 @@
name: Update Metadata
on:
pull_request:
types: [opened, edited, synchronize, reopened]
# CAREFUL! https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
pull_request_target:
types: [opened, edited, synchronize, reopened]
@ -38,6 +36,8 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
# https://github.com/actions/checkout/issues/518#issuecomment-890401887
ref: refs/pull/${{ github.event.number }}/merge
fetch-depth: 0
persist-credentials: false