Update CI/CD tokens, formatting (#179)
This commit was merged in pull request #179.
This commit is contained in:
4
.github/CONTRIBUTING.md
vendored
4
.github/CONTRIBUTING.md
vendored
@@ -17,7 +17,7 @@ Feel free to open an issue if you have any questions.
|
||||
|
||||
### Code of conduct and guidelines
|
||||
|
||||
First of all, we expect everyone (contributors and maintainers alike) to respect the [Code of conduct](https://github.com/luketainton/FHeD/blob/master/.github/CODE_OF_CONDUCT.md). It is not a recommendation, it is mandatory.
|
||||
First of all, we expect everyone (contributors and maintainers alike) to respect the [Code of conduct](https://github.com/luketainton/FHeD/blob/main/.github/CODE_OF_CONDUCT.md). It is not a recommendation, it is mandatory.
|
||||
|
||||
For all contributions, please respect the following guidelines:
|
||||
|
||||
@@ -38,6 +38,6 @@ feel free to open an issue to present your idea.
|
||||
The general process to submit a contribution is as follow:
|
||||
1. Create your own fork of the code
|
||||
2. Make you changes in a new branch in your fork (not main)
|
||||
3. Make sure to fill the [pull request](https://github.com/luketainton/FHeD/blob/master/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md) properly.
|
||||
3. Make sure to fill the [pull request](https://github.com/luketainton/FHeD/blob/main/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md) properly.
|
||||
|
||||
### Happy coding :metal:
|
||||
|
||||
2
.github/issue-branch.yml
vendored
2
.github/issue-branch.yml
vendored
@@ -1,6 +1,6 @@
|
||||
mode: auto
|
||||
silent: false
|
||||
branchName: '${issue.number}'
|
||||
branchName: "${issue.number}"
|
||||
branches:
|
||||
- label: type:feature
|
||||
prefix: feat-
|
||||
|
||||
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -1,7 +1,7 @@
|
||||
name: Deploy
|
||||
on:
|
||||
push:
|
||||
branches: main
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
- name: Setup PHP with Xdebug
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '8.1'
|
||||
php-version: "8.1"
|
||||
coverage: xdebug
|
||||
- name: Install dependencies with composer
|
||||
run: composer update --no-ansi --no-interaction --no-progress
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Login to GitHub Container Registry
|
||||
run: echo ${{ secrets.PAT }} | docker login ghcr.io -u luketainton --password-stdin
|
||||
run: echo ${{ secrets.GHCR_ACCESS_TOKEN }} | docker login ghcr.io -u luketainton --password-stdin
|
||||
- name: Build image for GitHub Container Registry
|
||||
run: docker build . --file Dockerfile --tag ghcr.io/luketainton/fhed:${{ needs.release-on-push.outputs.ver }} --tag ghcr.io/luketainton/fhed:latest
|
||||
- name: Push image to GitHub Container Registry
|
||||
|
||||
4
.github/workflows/greetings.yml
vendored
4
.github/workflows/greetings.yml
vendored
@@ -9,5 +9,5 @@ jobs:
|
||||
- uses: actions/first-interaction@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-message: 'Welcome! Thank you for opening your first issue on FHeD. Please see the [contributing guidelines](https://github.com/luketainton/FHeD/blob/main/.github/CONTRIBUTING.md) for more information.'
|
||||
pr-message: 'Thank you for opening your first pull request on FHeD! Please see the [contributing guidelines](https://github.com/luketainton/FHeD/blob/main/.github/CONTRIBUTING.md) to ensure your PR is ready for merge.'
|
||||
issue-message: "Welcome! Thank you for opening your first issue on FHeD. Please see the [contributing guidelines](https://github.com/luketainton/FHeD/blob/main/.github/CONTRIBUTING.md) for more information."
|
||||
pr-message: "Thank you for opening your first pull request on FHeD! Please see the [contributing guidelines](https://github.com/luketainton/FHeD/blob/main/.github/CONTRIBUTING.md) to ensure your PR is ready for merge."
|
||||
|
||||
9
.github/workflows/stale.yml
vendored
9
.github/workflows/stale.yml
vendored
@@ -6,14 +6,13 @@ on:
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/stale@v8
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
stale-issue-message: 'This issue has been marked as stale due to inactivity. If this issue is still ongoing, please leave a comment.'
|
||||
stale-pr-message: 'This pull request has been marked as stale due to inactivity. If this issue is still ongoing, please leave a comment.'
|
||||
stale-issue-label: 'status:stale'
|
||||
stale-pr-label: 'status:stale'
|
||||
stale-issue-message: "This issue has been marked as stale due to inactivity. If this issue is still ongoing, please leave a comment."
|
||||
stale-pr-message: "This pull request has been marked as stale due to inactivity. If this issue is still ongoing, please leave a comment."
|
||||
stale-issue-label: "status:stale"
|
||||
stale-pr-label: "status:stale"
|
||||
|
||||
Reference in New Issue
Block a user