Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Vankka/pr-target-branch-action
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2
Choose a base ref
...
head repository: Vankka/pr-target-branch-action
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3
Choose a head ref
  • 8 commits
  • 13 files changed
  • 1 contributor

Commits on Mar 24, 2022

  1. v2 in README

    Vankka committed Mar 24, 2022

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Vankka Henri Schubin
    Copy the full SHA
    b8cc709 View commit details

Commits on Apr 12, 2022

  1. Change job names in readme

    Vankka committed Apr 12, 2022

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Vankka Henri Schubin
    Copy the full SHA
    84ca14e View commit details
  2. Add .idea to gitignore

    Vankka committed Apr 12, 2022

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Vankka Henri Schubin
    Copy the full SHA
    8d48815 View commit details

Commits on Jul 14, 2022

  1. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Vankka Henri Schubin
    Copy the full SHA
    38efd92 View commit details
  2. Build

    Vankka committed Jul 14, 2022

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Vankka Henri Schubin
    Copy the full SHA
    a0be66a View commit details

Commits on Oct 26, 2022

  1. NodeJS 16

    Vankka authored Oct 26, 2022

    Verified

    This commit was created on github.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    def32ec View commit details

Commits on Jun 6, 2024

  1. Bump to running on node 20

    Vankka committed Jun 6, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Vankka Henri Schubin
    Copy the full SHA
    941218a View commit details
  2. Update dependencies, build

    Vankka committed Jun 6, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    Vankka Henri Schubin
    Copy the full SHA
    5da68a4 View commit details
Showing with 33,107 additions and 4,648 deletions.
  1. +3 −0 .gitignore
  2. +0 −5 .idea/.gitignore
  3. +0 −6 .idea/jsLibraryMappings.xml
  4. +0 −8 .idea/modules.xml
  5. +0 −12 .idea/pr-target-branch-action.iml
  6. +0 −6 .idea/vcs.xml
  7. +7 −7 README.md
  8. +1 −1 action.yml
  9. +32,818 −4,517 dist/index.js
  10. +104 −0 dist/licenses.txt
  11. +1 −4 main.js
  12. +169 −78 package-lock.json
  13. +4 −4 package.json
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# WebStorm
.idea

# Logs
logs
*.log
5 changes: 0 additions & 5 deletions .idea/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/jsLibraryMappings.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/pr-target-branch-action.iml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -14,10 +14,10 @@ on:
types: [opened, edited]

jobs:
build:
check-branch:
runs-on: ubuntu-latest
steps:
- uses: Vankka/pr-target-branch-action@v1.1
- uses: Vankka/pr-target-branch-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
@@ -38,10 +38,10 @@ on:
types: [opened, edited]
jobs:
build:
check-branch:
runs-on: ubuntu-latest
steps:
- uses: Vankka/pr-target-branch-action@v1.1
- uses: Vankka/pr-target-branch-action@v2
with:
target: main
exclude: development # Don't prevent going from development -> main
@@ -56,14 +56,14 @@ Contains all the options, not necessarily a good configuration - see `already-ex
name: Make sure new PRs are sent to development
on:
pull_request_target:
pull_request_target: # Please read https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ before using
types: [opened, edited]
jobs:
build:
check-branch:
runs-on: ubuntu-latest
steps:
- uses: Vankka/pr-target-branch-action@v1.1
- uses: Vankka/pr-target-branch-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ outputs:
description: 'If a pr with the same head & base already exists'

runs:
using: 'node12'
using: 'node20'
main: 'dist/index.js'

branding:
Loading