Skip to content

Commit

Permalink
Revert PRs #1097, #1152. (#1182)
Browse files Browse the repository at this point in the history
  • Loading branch information
stoobie authored Mar 14, 2024
1 parent 5c4a0dd commit bcc5f56
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
name: Pull request workflow

on:
pull_request_target:
types:
- opened
- reopened
- synchronize
pull_request:
branches:
- 'main'
- 'dev'

permissions:
contents: write
pull-requests: write
- '*'

jobs:

Expand All @@ -29,7 +20,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
with:
ref: refs/pull/${{ github.event.pull_request.number }}/merge
node-version: 16

- name: Install Node.js
uses: actions/setup-node@v2
Expand Down Expand Up @@ -58,8 +49,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v2
with:
node-version: 16
ref: gh-pages
token: ${{ secrets.GITHUB_TOKEN }}
USER_TOKEN: ${{ secrets.USER_TOKEN }}

- name: Extract PR details
id: pr
Expand Down Expand Up @@ -94,7 +86,6 @@ jobs:
git status
git config user.name "GitHub Actions"
git config user.email [email protected]
git add .
Expand Down

0 comments on commit bcc5f56

Please sign in to comment.