mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-26 01:26:11 +01:00

[TASK] Harden Github Actions workflows (#649)

Resolves: #614
This commit is contained in:
Łukasz Uznański 2022-10-19 15:14:17 +02:00 committed by GitHub
parent 9f1c0687b4
commit 6e8aef2daf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 1 deletions

View file

@ -9,6 +9,8 @@ on:
pull_request:
schedule:
- cron: '15 3 * * 1'
permissions:
contents: read
jobs:
php-lint:
name: "PHP linter"

View file

@ -6,9 +6,13 @@ on:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
code-coverage:
name: "Calculate code coverage"
permissions:
actions: write
runs-on: ubuntu-22.04
env:
DB_DATABASE: typo3

View file

@ -8,6 +8,8 @@
name: CI with predefined GitHub actions
on:
workflow_dispatch:
permissions:
contents: read
jobs:
php-lint:
name: "PHP linter"

View file

@ -4,9 +4,12 @@ on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
permissions:
contents: read
jobs:
publish:
permissions:
actions: write
runs-on: ubuntu-22.04
steps:
- name: "Checkout"

View file

@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
## x.y.z
### Added
- Harden the GitHub Actions workflows (#649)
- Add support for TYPO3 12 (#652)
- Add `.gitignore` entry for JetBrains Fleet editor (#642)