Skip to content

Commit

Permalink
ci: GitHub workflows security hardening (vuejs#6743)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashashura authored and chrislone committed Feb 4, 2023
1 parent b5fabfb commit 4becd19
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -6,6 +6,10 @@ on:
pull_request:
branches:
- main

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
unit-test:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release-tag.yml
Expand Up @@ -5,8 +5,12 @@ on:

name: Create Release

permissions: {}
jobs:
build:
permissions:
contents: write # to create release (yyx990803/release-tag)

name: Create Release
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 4becd19

Please sign in to comment.