add permissions to workflows

This commit is contained in:
Ashely Tenesaca
2025-08-19 20:55:24 +00:00
parent bc41886e18
commit ef00a0afbb
3 changed files with 7 additions and 1 deletions
+3
View File
@@ -16,6 +16,9 @@ on:
- '**.md' - '**.md'
workflow_dispatch: workflow_dispatch:
permissions:
contents: read
jobs: jobs:
check-dist: check-dist:
runs-on: ubuntu-latest runs-on: ubuntu-latest
+3
View File
@@ -10,6 +10,9 @@ on:
paths-ignore: paths-ignore:
- '**.md' - '**.md'
permissions:
contents: read
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
language: [ 'javascript-typescript', 'actions' ] language: [ 'javascript-typescript', 'actions', 'ruby' ]
steps: steps:
- name: Checkout repository - name: Checkout repository