mirror of
https://github.com/tiennm99/old-free-domains.git
synced 2026-10-14 06:17:54 +00:00
chore(security): cronjob for labels
This commit is contained in:
1 parent
bc0d4c3ca9
commit
cde5c39bdf
2 files changed
+17
-23
No files matched your search
@@ -0,0 +1,17 @@
|
||||
name: PR
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "*/10 * * * *"
|
||||
|
||||
jobs:
|
||||
label:
|
||||
name: Labeler
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: docker://docker.io/ilyam8/periodic-pr-labeler:v0.1.1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_REPOSITORY: ${{ github.repository }}
|
||||
LABEL_MAPPINGS_FILE: .github/labeler.yml
|
||||
@@ -1,23 +0,0 @@
|
||||
name: PR
|
||||
|
||||
on:
|
||||
- pull_request_target
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.ref }}-pr
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
label:
|
||||
name: Label
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- uses: actions/labeler@v4
|
||||
with:
|
||||
repo-token: "${{ secrets.BOT }}"
|
||||
sync-labels: true
|
||||
Reference in new issue
Block a user