Update and rename id.yml to github-id.yml

This commit is contained in:
William Harrison
2024-01-27 08:51:21 +08:00
committed by GitHub
parent 105e5d1c1f
commit 6e91fe0817
2 changed files with 32 additions and 23 deletions
+32
View File
@@ -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"