mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-09-20 02:16:13 +02: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: pull_request:
schedule: schedule:
- cron: '15 3 * * 1' - cron: '15 3 * * 1'
permissions:
contents: read
jobs: jobs:
php-lint: php-lint:
name: "PHP linter" name: "PHP linter"

View file

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

View file

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

View file

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

View file

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