-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
438 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
|
||
# https://ansible-lint.readthedocs.io/en/latest/configuring/ | ||
|
||
skip_list: | ||
- experimental | ||
|
||
exclude_paths: | ||
- ./contrib | ||
- ./.venv | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
|
||
# this file is for the labeler workflow job | ||
# Documentation https://github.com/marketplace/actions/labeler | ||
|
||
"type: documentation": | ||
- assets/**/* | ||
- .github/* | ||
- ./*.md | ||
|
||
"type: maintenance": | ||
- .github/workflows/* | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
|
||
# This workflow will triage pull requests and apply a label based on the | ||
# paths that are modified in the pull request. | ||
# | ||
# To use this workflow, you will need to set up a .github/labeler.yml | ||
# file with configuration. For more information, see: | ||
# https://github.com/actions/labeler/blob/master/README.md | ||
|
||
on: # yamllint disable-line rule:truthy | ||
pull_request: | ||
|
||
name: 🏷️ Add labels | ||
|
||
jobs: | ||
label: | ||
uses: wayofdev/gh-actions/.github/workflows/apply-labels.yml@master | ||
with: | ||
os: ubuntu-latest | ||
secrets: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
|
||
# https://github.com/peter-evans/enable-pull-request-automerge | ||
|
||
on: # yamllint disable-line rule:truthy | ||
pull_request: | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: write | ||
|
||
name: 🤞 Auto merge release | ||
|
||
jobs: | ||
auto-merge: | ||
uses: wayofdev/gh-actions/.github/workflows/auto-merge-release.yml@master | ||
with: | ||
os: ubuntu-latest | ||
pull-request-number: ${{ github.event.pull_request.number }} | ||
actor: lotyp | ||
merge-method: merge | ||
secrets: | ||
# to trigger other workflows, pass PAT token instead of GITHUB_TOKEN | ||
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }} | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
--- | ||
|
||
on: # yamllint disable-line rule:truthy | ||
workflow_dispatch: | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
name: 🚀 Build docker images with latest tag | ||
|
||
jobs: | ||
# https://docs.github.com/en/enterprise-cloud@latest/actions/learn-github-actions/expressions#example-returning-a-json-object | ||
prepare: | ||
runs-on: "ubuntu-latest" | ||
outputs: | ||
matrix: ${{ steps.matrix.outputs.matrix }} | ||
steps: | ||
- name: ⚙️ Generate matrix | ||
id: matrix | ||
run: | | ||
echo 'matrix={ | ||
"os_name": ["alpine"], | ||
"php_version": ["8.1", "8.2"], | ||
"php_type": ["fpm", "cli", "supervisord"] | ||
}' | tr -d '\n' >> $GITHUB_OUTPUT | ||
build: | ||
needs: prepare | ||
strategy: | ||
matrix: ${{ fromJson(needs.prepare.outputs.matrix )}} | ||
uses: wayofdev/gh-actions/.github/workflows/build-image.yml@master | ||
with: | ||
os: "ubuntu-latest" | ||
push-to-hub: true | ||
image-namespace: "wayofdev/php-dev" | ||
image-template-path: "./dist/dev" | ||
image-template: ${{ matrix.php_version }}-${{ matrix.php_type }}-${{ matrix.os_name }} | ||
image-version: latest | ||
secrets: | ||
docker-username: ${{ secrets.DOCKER_USERNAME }} | ||
docker-password: ${{ secrets.DOCKER_TOKEN }} | ||
|
||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
|
||
on: # yamllint disable-line rule:truthy | ||
release: | ||
types: | ||
- released | ||
|
||
name: 🚀 Build docker images with release tag | ||
|
||
jobs: | ||
# https://docs.github.com/en/enterprise-cloud@latest/actions/learn-github-actions/expressions#example-returning-a-json-object | ||
prepare: | ||
runs-on: "ubuntu-latest" | ||
outputs: | ||
matrix: ${{ steps.matrix.outputs.matrix }} | ||
version: ${{ steps.version.outputs.version }} | ||
steps: | ||
- name: ⚙️ Generate matrix | ||
id: matrix | ||
run: | | ||
echo 'matrix={ | ||
"os_name": ["alpine"], | ||
"php_version": ["8.1", "8.2"], | ||
"php_type": ["fpm", "cli", "supervisord"] | ||
}' | tr -d '\n' >> $GITHUB_OUTPUT | ||
- name: ⚙️ Get version for image tag | ||
id: version | ||
run: | | ||
version=${{ github.ref_name }} | ||
version=${version#v} | ||
echo "version=$version" >> $GITHUB_OUTPUT | ||
build: | ||
needs: prepare | ||
strategy: | ||
matrix: ${{ fromJson(needs.prepare.outputs.matrix )}} | ||
uses: wayofdev/gh-actions/.github/workflows/build-image.yml@master | ||
with: | ||
os: "ubuntu-latest" | ||
push-to-hub: true | ||
image-namespace: "wayofdev/php-dev" | ||
image-template-path: "./dist/dev" | ||
image-template: ${{ matrix.php_version }}-${{ matrix.php_type }}-${{ matrix.os_name }} | ||
image-version: ${{ needs.prepare.outputs.version }} | ||
secrets: | ||
docker-username: ${{ secrets.DOCKER_USERNAME }} | ||
docker-password: ${{ secrets.DOCKER_TOKEN }} | ||
|
||
... |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
|
||
# https://github.com/wayofdev/gh-actions/blob/master/.github/workflows/create-release.yml | ||
# https://github.com/google-github-actions/release-please-action#release-types-supported | ||
|
||
on: # yamllint disable-line rule:truthy | ||
push: | ||
branches: | ||
- master | ||
|
||
name: 📦 Create release | ||
|
||
jobs: | ||
release: | ||
uses: wayofdev/gh-actions/.github/workflows/create-release.yml@master | ||
with: | ||
os: ubuntu-latest | ||
branch: master | ||
package-name: docker-php-dev | ||
secrets: | ||
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }} | ||
|
||
... |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,20 @@ | ||
--- | ||
|
||
name: Differential ShellCheck | ||
|
||
on: # yamllint disable-line rule:truthy | ||
pull_request: | ||
|
||
name: 🐞 Differential shell-check | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
shellcheck: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Repository checkout | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Differential ShellCheck | ||
uses: redhat-plumbers-in-action/differential-shellcheck@v3 | ||
with: | ||
severity: warning | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
uses: wayofdev/gh-actions/.github/workflows/shellcheck.yml@master | ||
with: | ||
os: ubuntu-latest | ||
severity: warning | ||
secrets: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
... |
Oops, something went wrong.