Skip to content

Commit 339f09e

Browse files
authored
ci(publish.yml): pin github.triggering_actor (#1216)
1 parent dcacc02 commit 339f09e

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ on:
55
jobs:
66
build-and-publish:
77
# prevents this action from running on forks
8-
if: github.repository == 'chimurai/http-proxy-middleware'
8+
# only allow listed user to publish
9+
if: |
10+
github.repository == 'chimurai/http-proxy-middleware' &&
11+
github.triggering_actor == 'chimurai'
912
runs-on: ubuntu-latest
1013
permissions:
1114
contents: read

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
- feat(ipv6): support literal IPv6 addresses in `target` and `forward` options (ie. "http://[::1]:8000")
2020
- chore(package.json): bump httpxy to ^0.5.1
2121
- fix(logger-plugin): support ipv6 host and handle undefined protocol/host
22+
- ci(publish.yml): pin github.triggering_actor
2223

2324
## [v3.0.5](https://github.com/chimurai/http-proxy-middleware/releases/tag/v3.0.5)
2425

CONTRIBUTORS.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ Bezalel
33
bforbis
44
cdaringe
55
Chim
6+
chimurai
67
cloudmu
78
devanshj
89
dylang

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "http-proxy-middleware",
3-
"version": "4.0.0-beta.4",
3+
"version": "4.0.0-beta.5",
44
"description": "The one-liner node.js proxy middleware for connect, express, next.js and more",
55
"keywords": [
66
"browser-sync",

0 commit comments

Comments
 (0)