Skip to content

Commit 5caba20

Browse files
committed
Rename old GH action deprecated
1 parent e06c67f commit 5caba20

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

config/skeletons.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,10 @@ services:
171171
tags:
172172
- { name: phpbb.skeleton.ext.skeleton }
173173

174-
phpbb.skeleton.ext.skeleton.githubactions_custom:
174+
phpbb.skeleton.ext.skeleton.githubactions_deprecated:
175175
class: phpbb\skeleton\skeleton
176176
arguments:
177-
- 'githubactions_custom'
177+
- 'githubactions_deprecated'
178178
- false
179179
- []
180180
- ['.github/workflows/tests.yml']

language/en/common.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,10 @@
123123
'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS' => 'Create a GitHub Actions workflow to run tests in your repository?',
124124
'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS_UI' => 'GitHub Actions Workflow (Reusable – Recommended)',
125125
'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS_EXPLAIN' => 'Creates a GitHub Actions workflow that uses a reusable, phpBB-maintained framework to run PHPUnit tests on your repository. The workflow file is saved in .github/workflows and runs automatically on each commit and pull request.',
126-
'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS_CUSTOM' => 'Create a fully customisable GitHub Actions workflow? (Select this if you plan to modify jobs or steps.)',
127-
'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS_CUSTOM_UI' => 'GitHub Actions Workflow (Standalone – Deprecated)',
128-
'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS_CUSTOM_EXPLAIN' => 'Deprecated: Creates a fully standalone workflow to run PHPUnit tests without using the shared phpBB framework. This overrides the reusable workflow and is no longer recommended. The file is saved in .github/workflows and runs on each commit and pull request.',
129126
'SKELETON_QUESTION_COMPONENT_BUILD' => 'Create a sample build script for phing?',
127+
'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS_DEPRECATED' => 'Create a standalone GitHub Actions workflow [Deprecated: not recommended unless you plan to modify jobs or steps]',
128+
'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS_DEPRECATED_UI' => 'GitHub Actions Workflow (Standalone – Deprecated)',
129+
'SKELETON_QUESTION_COMPONENT_GITHUBACTIONS_DEPRECATED_EXPLAIN' => 'Deprecated: Creates a fully standalone workflow to run PHPUnit tests without using the shared phpBB framework. This overrides the reusable workflow and is no longer recommended. The file is saved in .github/workflows and runs on each commit and pull request.',
130130
'SKELETON_QUESTION_COMPONENT_BUILD_UI' => 'Build script (phing)',
131131
'SKELETON_QUESTION_COMPONENT_BUILD_EXPLAIN' => 'A phing build script is generated for your extension which can be used to generate build packages to help simplify the release or deployment processes.',
132132

skeleton/.github/workflows/tests.yml.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Tests
22

3-
{% if COMPONENT.githubactions_custom %}
3+
{% if COMPONENT.githubactions_deprecated %}
44
env:
55
EXTNAME: {{ EXTENSION.vendor_name }}/{{ EXTENSION.extension_name }} # Your extension vendor/package name
66
SNIFF: 1 # Run code sniffer on your code? 1 or 0

0 commit comments

Comments
 (0)