diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 15ff2fe..d16b04b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,6 +4,10 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions +permissions: + contents: read + on: schedule: - cron: '0 */4 * * *' diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 1342d9e..c0900a8 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -4,6 +4,10 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions +permissions: + contents: read + on: push: branches: @@ -19,6 +23,11 @@ on: jobs: labeler: runs-on: ubuntu-latest + permissions: + # same as global permissions + contents: read + # required to update labels + issues: write steps: - name: Checkout diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index a28f09c..1a6a7ca 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -4,6 +4,10 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true +# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions +permissions: + contents: read + on: push: branches: diff --git a/LICENSE b/LICENSE index d1e078e..3f76ee5 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021-2024 CrazyMax +Copyright (c) 2021-2025 CrazyMax Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal