mirror of
https://github.com/pre-commit/action.git
synced 2026-04-07 06:46:53 +00:00
remove pushing behaviour
This commit is contained in:
parent
c67424282e
commit
f5c2d257b4
11 changed files with 49 additions and 4331 deletions
21
.github/workflows/deploy.yml
vendored
21
.github/workflows/deploy.yml
vendored
|
|
@ -1,21 +0,0 @@
|
|||
name: deploy
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: pr
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
- uses: actions/setup-python@v2
|
||||
- run: pip install virtualenv
|
||||
- run: make
|
||||
- name: self test newly built action
|
||||
uses: ./
|
||||
- run: make push
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
14
.github/workflows/main.yml
vendored
Normal file
14
.github/workflows/main.yml
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
name: main
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches: [main, test-me-*]
|
||||
|
||||
jobs:
|
||||
main:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v3
|
||||
- name: self test action
|
||||
uses: ./
|
||||
Loading…
Add table
Add a link
Reference in a new issue