diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml new file mode 100644 index 0000000..08d2cb9 --- /dev/null +++ b/.github/workflows/integration-tests.yml @@ -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 diff --git a/README.md b/README.md index 9f89e7a..17d5a90 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,9 @@ + + + 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 ", and the default author of the commit is "Your GitHub Username ".