Initial commit
This commit is contained in:
11
skills/typo3-conformance/.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
11
skills/typo3-conformance/.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: TYPO3 Slack
|
||||
url: https://typo3.org/community/meet/chat-slack
|
||||
about: Join the TYPO3 community on Slack for discussions and support
|
||||
- name: TYPO3 Extension Documentation
|
||||
url: https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ExtensionArchitecture/Index.html
|
||||
about: Official TYPO3 extension architecture and development documentation
|
||||
- name: TYPO3 Coding Guidelines
|
||||
url: https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/CodingGuidelines/Index.html
|
||||
about: TYPO3 coding guidelines (CGL) and PSR-12 standards
|
||||
51
skills/typo3-conformance/.github/workflows/publish-to-ter.yml
vendored
Normal file
51
skills/typo3-conformance/.github/workflows/publish-to-ter.yml
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
name: Publish new extension version to TER
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
name: Publish new version to TER
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
TYPO3_EXTENSION_KEY: ${{ secrets.TYPO3_EXTENSION_KEY }}
|
||||
TYPO3_API_TOKEN: ${{ secrets.TYPO3_TER_ACCESS_TOKEN }}
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Check tag
|
||||
run: |
|
||||
if ! [[ ${{ github.ref }} =~ ^refs/tags/v[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}$ ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Get version
|
||||
id: get-version
|
||||
run: echo "version=${GITHUB_REF/refs\/tags\/v/}" >> $GITHUB_ENV
|
||||
|
||||
- name: Get comment
|
||||
id: get-comment
|
||||
run: |
|
||||
readonly local comment=$(git tag -n10 -l v${{ env.version }} | sed "s/^v[0-9.]*[ ]*//g")
|
||||
|
||||
if [[ -z "${comment// }" ]]; then
|
||||
echo "comment=Released version ${{ env.version }} of ${{ env.TYPO3_EXTENSION_KEY }} -- for details see $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/releases" >> $GITHUB_ENV
|
||||
else
|
||||
echo "comment=$comment -- for details see $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/releases" >> $GITHUB_ENV
|
||||
fi
|
||||
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: 8.3
|
||||
extensions: intl, mbstring, json, zip, curl
|
||||
tools: composer:v2
|
||||
|
||||
- name: Install tailor
|
||||
run: composer global require typo3/tailor --prefer-dist --no-progress --no-suggest
|
||||
|
||||
- name: Publish to TER
|
||||
run: php ~/.composer/vendor/bin/tailor ter:publish --comment "${{ env.comment }}" ${{ env.version }}
|
||||
Reference in New Issue
Block a user