git-auto-commit-action/.github/workflows/integration-tests.yml

32 lines
568 B
YAML
Raw Normal View History

2020-10-17 12:29:42 +00:00
name: Integration Tests
on: push
jobs:
2020-10-17 12:51:58 +00:00
test-commit-works:
2020-10-17 12:29:42 +00:00
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
2020-10-17 12:29:42 +00:00
- name: Add Files
run: touch {a,b,c}.txt
- name: Run git-auto-commit
id: "auto-commit-action"
uses: ./
with:
2020-10-17 12:51:58 +00:00
branch: ci-test
2020-10-17 12:29:42 +00:00
commit_message: Message
2020-10-17 12:46:50 +00:00
- name: Delete Branch
run: git push -d origin ci-test