Skip to content

Commit

Permalink
✅ update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunhThanhDe committed Nov 30, 2024
1 parent b6c1a74 commit 6b1d5ac
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/auto_asign.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Auto Assign
on:
issues:
types: [opened]
pull_request:
types: [opened]
jobs:
run:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: 'Auto-assign issue'
uses: pozil/auto-assign-issue@v1
with:
repo-token: ${{ secrets.GH_TOKEN }}
assignees: ChunhThanhDe
numOfAssignee: 1
33 changes: 33 additions & 0 deletions .github/workflows/sync_labels.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

name: ♻️ Sync Labels

on:
push:
paths:
- .github/labels.yml
branches:
- main
workflow_dispatch:

jobs:
labels:
name: ♻️ Sync labels
runs-on: ubuntu-20.04
permissions:
issues: write
contents: read
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v4

- name: 🚀 Run Label Sync
uses: srealmoreno/label-sync-action@v2
with:
config-file: https://raw.githubusercontent.com/Flutter-Journey/.github/main/.github/labels.yml

- name: 🚀 Run Label Sync (Local)
if: ${{ hashFiles('.github/labels.yml') }}
uses: srealmoreno/label-sync-action@v2
with:
config-file: .github/labels.yml

0 comments on commit 6b1d5ac

Please sign in to comment.