-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge main into stable/4.0.x. Update 20230906
* commit '13629938d89a45f241cbe54c4c5cec84e8cff684': Remove test which isn't working Manage versioning (#231) Fix test not working after merge Add auth-*-key secrets to media (#230) Extend project automation (#227) Fix backendAction secrets (#226) rename env-vars (#225) add search service (#221)
- Loading branch information
Showing
18 changed files
with
260 additions
and
89 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,32 @@ | ||
name: Project automation | ||
on: | ||
workflow_call: | ||
inputs: | ||
resource_node_id: | ||
required: true | ||
type: string | ||
status_value: | ||
required: true | ||
type: string | ||
secrets: | ||
AUTOMATION_APP_ID: | ||
required: true | ||
AUTOMATION_APP_INSTALLATION_ID: | ||
required: true | ||
AUTOMATION_APP_PRIVATE_KEY: | ||
required: true | ||
|
||
jobs: | ||
workflow_call: | ||
name: Set status | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: leonsteinhaeuser/project-beta-automations@v2.1.0 | ||
with: | ||
gh_app_ID: ${{ secrets.AUTOMATION_APP_ID }} | ||
gh_app_installation_ID: ${{ secrets.AUTOMATION_APP_INSTALLATION_ID }} | ||
gh_app_secret_key: ${{ secrets.AUTOMATION_APP_PRIVATE_KEY }} | ||
organization: OpenSlides | ||
project_id: 2 | ||
resource_node_id: ${{ inputs.resource_node_id }} | ||
status_value: ${{ inputs.status_value }} |
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 @@ | ||
name: Project automation | ||
on: | ||
issues: | ||
types: | ||
- closed | ||
|
||
jobs: | ||
issue_closed: | ||
name: Issue closed | ||
uses: ./.github/workflows/project-automation.yml | ||
secrets: inherit | ||
with: | ||
resource_node_id: ${{ github.event.issue.node_id }} | ||
status_value: "Done" |
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,15 @@ | ||
name: Project automation | ||
on: | ||
issues: | ||
types: | ||
- opened | ||
- reopened | ||
|
||
jobs: | ||
issue_opened: | ||
name: Issue opened | ||
uses: ./.github/workflows/project-automation.yml | ||
secrets: inherit | ||
with: | ||
resource_node_id: ${{ github.event.issue.node_id }} | ||
status_value: "Backlog" |
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 @@ | ||
name: Project automation | ||
on: | ||
pull_request_target: | ||
types: | ||
- closed | ||
|
||
jobs: | ||
pull_request_closed: | ||
name: Pull request closed | ||
uses: ./.github/workflows/project-automation.yml | ||
secrets: inherit | ||
with: | ||
resource_node_id: ${{ github.event.pull_request.node_id }} | ||
status_value: "Done" |
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,15 @@ | ||
name: Project automation | ||
on: | ||
pull_request_target: | ||
types: | ||
- opened | ||
- reopened | ||
|
||
jobs: | ||
pull_request_opened: | ||
name: Pull request opened | ||
uses: ./.github/workflows/project-automation.yml | ||
secrets: inherit | ||
with: | ||
resource_node_id: ${{ github.event.pull_request.node_id }} | ||
status_value: "Work in progress" |
14 changes: 14 additions & 0 deletions
14
.github/workflows/project-pull-request-review-requested.yml
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 @@ | ||
name: Project automation | ||
on: | ||
pull_request_target: | ||
types: | ||
- review_requested | ||
|
||
jobs: | ||
pull_request_review_requested: | ||
name: Pull request review requested | ||
uses: ./.github/workflows/project-automation.yml | ||
secrets: inherit | ||
with: | ||
resource_node_id: ${{ github.event.pull_request.node_id }} | ||
status_value: "Review in progress" |
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
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,9 @@ | ||
name: GitHub Release (dev) | ||
on: | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
release-dev: | ||
name: "Create dev Release" | ||
uses: ./.github/workflows/release-create.yml |
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,24 @@ | ||
name: GitHub Release (stable) | ||
on: | ||
repository_dispatch: | ||
types: [stable-update] | ||
|
||
jobs: | ||
release-stable: | ||
name: "Create GitHub Release (4.x.x) and upload binary" | ||
if: startsWith(github.event.client_payload.branch, 'stable/4') | ||
uses: ./.github/workflows/release-create.yml | ||
with: | ||
branch: "${{ github.event.client_payload.branch }}" | ||
tag: "${{ github.event.client_payload.version }}" | ||
title: Stable Build | ||
prerelease: false | ||
release-stable-latest: | ||
name: "Create GitHub Release (latest) and upload binary" | ||
if: startsWith(github.event.client_payload.branch, 'stable/4') | ||
uses: ./.github/workflows/release-create.yml | ||
with: | ||
branch: "${{ github.event.client_payload.branch }}" | ||
tag: latest | ||
title: Stable Build | ||
prerelease: false |
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
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
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
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
Oops, something went wrong.