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

27 lines
458 B
YAML
Raw Normal View History

2020-10-17 20:29:42 +08:00
name: Integration Tests
on: push
jobs:
2020-10-17 20:51:58 +08:00
test-commit-works:
2020-10-17 20:29:42 +08:00
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:
2020-10-17 20:51:58 +08:00
branch: ci-test
2020-10-17 20:29:42 +08:00
commit_message: Message
checkout_options: -b
2020-10-17 20:46:50 +08:00
- name: Delete Branch
run: git push -d origin ci-test