Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Set permissions for GitHub actions #2294

Merged
merged 1 commit into from
May 12, 2022
Merged
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
3 changes: 3 additions & 0 deletions .github/workflows/boost_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ on:
branches-ignore:
- 'gh-pages'

permissions:
contents: read

jobs:
build:
name: Ubuntu Boost
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/check-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ name: Check files

on: [push, pull_request]

permissions:
contents: read

jobs:
Signature_check:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/check-queries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ on:
branches-ignore:
- 'gh-pages'

permissions:
contents: read

jobs:
build:
name: Check queries
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ on:
branches-ignore:
- 'gh-pages'

permissions:
contents: read

jobs:
Test_clang:
name: Ubuntu clang
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/doc-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ on:
branches-ignore:
- 'gh-pages'

permissions:
contents: read

jobs:
build:
name: documentation
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/locale-and-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ on:
- main
- develop

permissions:
contents: read

jobs:
release:
permissions:
contents: write # for Git to git push
name: Update Locale and Website
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'pgRouting' }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ name: Build for macOS
on:
workflow_dispatch:

permissions:
contents: read

jobs:
build:
name: macos
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ on:
- 'v*.*.*'


permissions:
contents: read

jobs:
release:
permissions:
contents: write # for Git to git push
name: Release
runs-on: ubuntu-latest

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ name: Build for Ubuntu
on:
workflow_dispatch:

permissions:
contents: read

jobs:
build:
name: Ubuntu psql
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ name: Update
on:
workflow_dispatch:

permissions:
contents: read

jobs:
build:
name: Build
Expand Down