Skip to content

Merge pull request #76 from planetscale/joem/gha-fix-branch-name #177

Merge pull request #76 from planetscale/joem/gha-fix-branch-name

Merge pull request #76 from planetscale/joem/gha-fix-branch-name #177

Workflow file for this run

name: self-test
# Uncomment to run test on your branch, but keep in mind there will be an extra
# commit added to your PR
# on:
# pull_request:
jobs:
self-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- name: modify some files
run: |
git mv README.md README.md.old
echo 'test' >new.file
# - build temp docker image
# - mutate version in Dockerfile to use the temp image
# - run plugin
# - can we reset the branch after the test?
- name: ghcommit
uses: ./
with:
commit_message: "test"
repo: ${{ github.repository }}
branch: ${{ github.head_ref || github.ref_name }}
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
DEBUG: 1