mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-11-06 02:08:05 +00:00
Merge branch 'master' of github.com:stefanzweifel/git-auto-commit-action
This commit is contained in:
commit
30cd17bff0
26
.github/workflows/integration-tests.yml
vendored
Normal file
26
.github/workflows/integration-tests.yml
vendored
Normal file
@ -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
|
@ -5,6 +5,9 @@
|
|||||||
<a href="https://github.com/stefanzweifel/git-auto-commit-action/actions?query=workflow%3Atests">
|
<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="">
|
<img src="https://github.com/stefanzweifel/git-auto-commit-action/workflows/tests/badge.svg" alt="">
|
||||||
</a>
|
</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.
|
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 <actions@github.com>", and the default author of the commit is "Your GitHub Username <github_username@users.noreply.github.com>".
|
The default committer is "GitHub Actions <actions@github.com>", and the default author of the commit is "Your GitHub Username <github_username@users.noreply.github.com>".
|
||||||
|
Loading…
Reference in New Issue
Block a user