mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-10-20 02:17:34 +00:00
Update and rename id.yml to github-id.yml
This commit is contained in:
1 parent
105e5d1c1f
commit
6e91fe0817
2 files changed
+32
-23
No files matched your search
@@ -0,0 +1,32 @@
|
|||||||
|
name: GitHub ID
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update:
|
||||||
|
name: Update
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- id: Get changed files
|
||||||
|
uses: jitterbit/get-changed-files@v1
|
||||||
|
with:
|
||||||
|
format: "space-delimited"
|
||||||
|
|
||||||
|
- name: Run script
|
||||||
|
uses: is-a-dev/github-id-script@v1
|
||||||
|
with:
|
||||||
|
files: ${{ steps.files.outputs.all }}
|
||||||
|
|
||||||
|
- name: Commit
|
||||||
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
|
with:
|
||||||
|
commit_user_name: "GitHub Actions"
|
||||||
|
commit_user_email: "actions@github.com"
|
||||||
|
commit_message: "chore: add github user id"
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
name: ID_ADDER
|
|
||||||
on: [pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
id:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
- id: files
|
|
||||||
uses: jitterbit/get-changed-files@v1
|
|
||||||
with:
|
|
||||||
format: 'space-delimited'
|
|
||||||
- uses: is-a-dev/id_script@v1.0
|
|
||||||
with:
|
|
||||||
files: ${{ steps.files.outputs.all }}
|
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
||||||
with:
|
|
||||||
commit_user_name: 'GitHub Actions'
|
|
||||||
commit_user_email: 'actions@github.co'
|
|
||||||
commit_message: 'chore: update user id'
|
|
||||||
Reference in new issue
Block a user