-
Notifications
You must be signed in to change notification settings - Fork 12
33 lines (28 loc) · 864 Bytes
/
Copy pathself-test.yaml
File metadata and controls
33 lines (28 loc) · 864 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
- 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