aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <valentin@popov.link>2025-06-15 15:02:26 +0300
committerValentin Popov <valentin@popov.link>2025-06-15 15:02:26 +0300
commit15795a533719781aac9ec9c985455c933abdc7a7 (patch)
tree7504666de787f042d518c8b8471ebcb72e1d3c50
parentbc4f65c1f63cf9f672fc9d2e4060b3c06c4da2fc (diff)
downloadpopov.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.yml10
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: