Skip to content

Commit

Permalink
specified commit
Browse files Browse the repository at this point in the history
  • Loading branch information
kuriyosh committed Mar 10, 2022
1 parent 2ad0660 commit 9a9278d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/commit-from-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: commit from GitHub actions

on: push

jobs:
echo:
runs-on: ubuntu-latest
steps:
- run: echo 'test'

test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: tj-actions/verify-changed-files@v8.8
id: verify_changed_files
with:
files: |
doc\/[a-zA-Z0-9\/\-_\.!\s'\(\)\/]+\.txt
- run: touch ./$(echo $RANDOM).txt
if: steps.verify_changed_files.outputs.files_changed == 'true'
- uses: stefanzweifel/git-auto-commit-action@v4
if: steps.verify_changed_files.outputs.files_changed == 'true'
with:
commit_message: hogehoge

0 comments on commit 9a9278d

Please sign in to comment.