git-auto-commit-action/.github/workflows/integration-tests.yml
2020-10-22 19:52:43 +02:00

32 lines
568 B
YAML

name: Integration Tests
on: push
jobs:
test-commit-works:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: master
- name: Create Remote Branch
run: |
git checkout -b ci-test
git push origin ci-test
git checkout 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
- name: Delete Branch
run: git push -d origin ci-test