Skip to content

Commit

Permalink
Merge branch 'master' of github.com:stefanzweifel/git-auto-commit-action
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanzweifel committed Oct 21, 2020
2 parents 8f5b58c + 65928d2 commit 30cd17b
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Integration Tests

on: push

jobs:
test-commit-works:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
ref: master

- name: Add Files
run: touch {a,b,c}.txt

- name: Run git-auto-commit
id: "auto-commit-action"
uses: ./
with:
branch: ci-test
commit_message: Message
checkout_options: -b

- name: Delete Branch
run: git push -d origin ci-test
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<a href="https://github.com/stefanzweifel/git-auto-commit-action/actions?query=workflow%3Atests">
<img src="https://github.com/stefanzweifel/git-auto-commit-action/workflows/tests/badge.svg" alt="">
</a>
<a href="https://github.com/stefanzweifel/git-auto-commit-action/actions?query=workflow%3A%22Integration+Tests%22">
<img src="https://github.com/stefanzweifel/git-auto-commit-action/workflows/Integration%20Tests/badge.svg" alt="">
</a>

This GitHub Action automatically commits files which have been changed during a Workflow run and pushes the commit back to GitHub.
The default committer is "GitHub Actions <[email protected]>", and the default author of the commit is "Your GitHub Username <[email protected]>".
Expand Down

0 comments on commit 30cd17b

Please sign in to comment.