Skip to content

🎥 Make videos programmatically with React

CI: Declare what the push, changelog and Discord workflows may do with the token

Thibaud-Vdbec787bb8fae2
diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml
index 424cb99f83..47ee590b09 100644
--- a/.github/workflows/changelog.yml
+++ b/.github/workflows/changelog.yml
@@ -6,6 +6,9 @@ on:
tag:
description: 'Release tag to post (e.g. v4.0.422). Leave empty for latest.'
required: false
+permissions:
+ contents: read
+
name: Publish latest release
jobs:
diff --git a/.github/workflows/discord.yml b/.github/workflows/discord.yml
index f4538506f1..85569ab05d 100644
--- a/.github/workflows/discord.yml
+++ b/.github/workflows/discord.yml
@@ -1,6 +1,8 @@
name: Discord notifications
on: [push, pull_request_target]
+permissions: {}
+
jobs:
notify_discord:
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index ba46cf0f98..3dc5e068e8 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -3,6 +3,9 @@ on:
branches:
- main
pull_request:
+permissions:
+ contents: read
+
name: Install and Test
concurrency: