diff options
author | Valentin Popov <valentin@popov.link> | 2025-06-15 15:02:26 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2025-06-15 15:02:26 +0300 |
commit | 15795a533719781aac9ec9c985455c933abdc7a7 (patch) | |
tree | 7504666de787f042d518c8b8471ebcb72e1d3c50 | |
parent | bc4f65c1f63cf9f672fc9d2e4060b3c06c4da2fc (diff) | |
download | popov.link-15795a533719781aac9ec9c985455c933abdc7a7.tar.xz popov.link-15795a533719781aac9ec9c985455c933abdc7a7.zip |
chore: update GitHub Actions workflow for repository mirroring
- Modified the workflow trigger to include both push and pull request events on the master branch.
- Set permissions for the workflow to allow read access to contents.
-rw-r--r-- | .github/workflows/mirror.yml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index fc53925..62337e7 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -1,5 +1,13 @@ name: Mirror -on: [push] + +on: + push: + branches: [master] + pull_request: + branches: [master] + +permissions: + contents: read jobs: mirror: |