Workflow permissions
@@ -17,6 +17,10 @@ on:
schedule:
- cron: '45 16 * * 1'
+permissions:
+ contents: read
+ security-events: write
+
jobs:
codacy-security-scan:
name: Codacy Security Scan
@@ -18,6 +18,10 @@ on:
- cron: '28 22 * * 5'
analyze:
name: Analyze
@@ -1,6 +1,4 @@
name: ESLint Check
-permissions:
- contents: read
on:
push:
@@ -14,6 +12,9 @@ on:
- 'js/package-lock.json'
- .github/workflows/eslint.yml
eslint:
runs-on: ubuntu-latest
@@ -4,8 +4,12 @@ on:
tags: '[0-9]+.[0-9]?[0-9]?[0-9]?.?[0-9]+'
+permissions: {}
draft:
+ permissions:
+ contents: write
steps:
- name: Fetch changelog from tag
@@ -8,6 +8,11 @@ on:
branches: [ master ]
pull_request:
# https://github.com/snyk/actions/tree/master/php
snyk-php:
@@ -5,6 +5,7 @@ on:
workflows: ["Tests"]
types:
- completed
permissions: {}
@@ -1,10 +1,13 @@
name: Tests
workflow_dispatch:
Composer: