fix: Fix publish permissions for retries (#29342)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
1a095f74c2
Коммит
297aab56a0
7
.github/workflows/server-ci-template.yml
поставляемый
7
.github/workflows/server-ci-template.yml
поставляемый
@@ -263,36 +263,37 @@ jobs:
|
|||||||
name: Postgres with binary parameters
|
name: Postgres with binary parameters
|
||||||
needs: check-mattermost-vet
|
needs: check-mattermost-vet
|
||||||
uses: ./.github/workflows/server-test-template.yml
|
uses: ./.github/workflows/server-test-template.yml
|
||||||
|
secrets: inherit
|
||||||
with:
|
with:
|
||||||
name: Postgres with binary parameters
|
name: Postgres with binary parameters
|
||||||
datasource: postgres://mmuser:mostest@postgres:5432/mattermost_test?sslmode=disable&connect_timeout=10&binary_parameters=yes
|
datasource: postgres://mmuser:mostest@postgres:5432/mattermost_test?sslmode=disable&connect_timeout=10&binary_parameters=yes
|
||||||
drivername: postgres
|
drivername: postgres
|
||||||
logsartifact: postgres-binary-server-test-logs
|
logsartifact: postgres-binary-server-test-logs
|
||||||
secrets: inherit
|
|
||||||
test-postgres-normal:
|
test-postgres-normal:
|
||||||
name: Postgres
|
name: Postgres
|
||||||
needs: check-mattermost-vet
|
needs: check-mattermost-vet
|
||||||
uses: ./.github/workflows/server-test-template.yml
|
uses: ./.github/workflows/server-test-template.yml
|
||||||
|
secrets: inherit
|
||||||
with:
|
with:
|
||||||
name: Postgres
|
name: Postgres
|
||||||
datasource: postgres://mmuser:mostest@postgres:5432/mattermost_test?sslmode=disable&connect_timeout=10
|
datasource: postgres://mmuser:mostest@postgres:5432/mattermost_test?sslmode=disable&connect_timeout=10
|
||||||
drivername: postgres
|
drivername: postgres
|
||||||
logsartifact: postgres-server-test-logs
|
logsartifact: postgres-server-test-logs
|
||||||
secrets: inherit
|
|
||||||
test-mysql:
|
test-mysql:
|
||||||
name: MySQL
|
name: MySQL
|
||||||
needs: check-mattermost-vet
|
needs: check-mattermost-vet
|
||||||
uses: ./.github/workflows/server-test-template.yml
|
uses: ./.github/workflows/server-test-template.yml
|
||||||
|
secrets: inherit
|
||||||
with:
|
with:
|
||||||
name: MySQL
|
name: MySQL
|
||||||
datasource: mmuser:mostest@tcp(mysql:3306)/mattermost_test?charset=utf8mb4&multiStatements=true&maxAllowedPacket=4194304
|
datasource: mmuser:mostest@tcp(mysql:3306)/mattermost_test?charset=utf8mb4&multiStatements=true&maxAllowedPacket=4194304
|
||||||
drivername: mysql
|
drivername: mysql
|
||||||
logsartifact: mysql-server-test-logs
|
logsartifact: mysql-server-test-logs
|
||||||
secrets: inherit
|
|
||||||
test-mmctl:
|
test-mmctl:
|
||||||
name: Run mmctl tests
|
name: Run mmctl tests
|
||||||
needs: check-mattermost-vet
|
needs: check-mattermost-vet
|
||||||
uses: ./.github/workflows/mmctl-test-template.yml
|
uses: ./.github/workflows/mmctl-test-template.yml
|
||||||
|
secrets: inherit
|
||||||
with:
|
with:
|
||||||
name: mmctl
|
name: mmctl
|
||||||
datasource: postgres://mmuser:mostest@postgres:5432/mattermost_test?sslmode=disable&connect_timeout=10
|
datasource: postgres://mmuser:mostest@postgres:5432/mattermost_test?sslmode=disable&connect_timeout=10
|
||||||
|
|||||||
3
.github/workflows/server-test-template.yml
поставляемый
3
.github/workflows/server-test-template.yml
поставляемый
@@ -19,6 +19,9 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
name: ${{ inputs.name }}
|
name: ${{ inputs.name }}
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
checks: write
|
||||||
env:
|
env:
|
||||||
COMPOSE_PROJECT_NAME: ghactions
|
COMPOSE_PROJECT_NAME: ghactions
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user