Skip to content

pop the last stash off the stack if it exists #15

pop the last stash off the stack if it exists

pop the last stash off the stack if it exists #15

Workflow file for this run

name: Tests
on:
- push
- workflow_dispatch
jobs:
test_single:
name: Test single checkout
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/[email protected]
- name: Create test file
run: date > test.txt
- name: Commit
uses: ./
with:
message: Create test file for single repos
branch: test-single-repo
force: true
test_multi:
name: Test multi checkout
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/[email protected]
with:
path: repo
- name: Create test file
run: date > repo/test.txt
- name: Commit
uses: ./repo
with:
message: Create test file for multi repos
branch: test-multi-repo
force: true
directory: repo
test_multi_absolute:
name: Test multi checkout (absolute path)
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/[email protected]
with:
path: repo
- name: Create test file
run: date > repo/test.txt
- name: Commit
uses: ./repo
with:
message: Create test file for multi repos (absolute path)
branch: test-multi-repo-absolute
force: true
directory: /home/runner/work/commit/commit/repo