Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: "CI/CD Pipeline"
permissions:
contents: read
on:
push:
branches-ignore:
Expand Down Expand Up @@ -146,6 +148,10 @@ jobs:
needs: [test, api-test]
runs-on: ubuntu-latest
if: github.repository == 'juice-shop/juice-shop' && github.event_name == 'push'
permissions:
contents: read
checks: write
pull-requests: write
steps:
- name: "Check out Git repository"
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint-fixer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: "Let me lint:fix that for you"

on: [push]

permissions:
contents: write

jobs:
LMLFTFY:
runs-on: ubuntu-latest
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Automatic Rebase

permissions:
contents: read

on:
issue_comment:
types: [created]
Expand All @@ -9,6 +12,9 @@ jobs:
name: Rebase
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
with:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ on:
push:
tags:
- v*
permissions:
contents: read
env:
CYCLONEDX_NPM_VERSION: '^2.0.0||^3.0.0'
jobs:
package:
permissions:
contents: write
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:

jobs:
stale:
permissions:
contents: read
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e #v9.0.0
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-challenges-ebook.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: "Update challenges in Companion Guide"

permissions:
contents: write

on:
push:
branches: [ master, develop ]
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-challenges-www.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
paths:
- 'data/static/challenges.yml'

permissions:
contents: write

jobs:
UpdateChallengesOnWebsite:
if: github.repository == 'juice-shop/juice-shop'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update-news-www.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
jobs:
UpdateNewsOnWebsite:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out Git repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/zap_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
zap_scan:
runs-on: ubuntu-latest
name: Scan Juice Shop preview instance on Heroku
permissions:
contents: read
steps:
- name: Check out Git repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
Expand Down
Loading