Use GITHUB_TOKEN to run GitHub Actions
This commit is contained in:
committed by
Frédéric Guillot
parent
59a4c7f73b
commit
2f50892c07
9
.github/workflows/integration_tests.yml
vendored
9
.github/workflows/integration_tests.yml
vendored
@@ -4,6 +4,9 @@ on:
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
permissions:
|
||||
packages: read
|
||||
|
||||
jobs:
|
||||
Sqlite:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -11,7 +14,7 @@ jobs:
|
||||
image: ghcr.io/kanboard/tests:latest
|
||||
credentials:
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.CR_PAT }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Validate composer.json and composer.lock
|
||||
@@ -36,7 +39,7 @@ jobs:
|
||||
image: ghcr.io/kanboard/tests:latest
|
||||
credentials:
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.CR_PAT }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:9.4
|
||||
@@ -78,7 +81,7 @@ jobs:
|
||||
image: ghcr.io/kanboard/tests:latest
|
||||
credentials:
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.CR_PAT }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
services:
|
||||
mysql:
|
||||
image: mysql:5.7
|
||||
|
||||
Reference in New Issue
Block a user