-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1988 from OpenEnergyPlatform/releases-v2.6.0
Release v2.6.0 to `master` branch
- Loading branch information
Showing
16 changed files
with
1,436 additions
and
217 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
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,20 +1,24 @@ | ||
name: Add new GitHub issues and pull requests to the "Issues" project | ||
on: [issues, pull_request] | ||
on: | ||
issues: | ||
types: | ||
- opened | ||
pull_request: | ||
types: | ||
- opened | ||
jobs: | ||
github-actions-automate-projects: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: add-new-issues-to-repository-based-project-column | ||
uses: docker://takanabe/github-actions-automate-projects:v0.0.1 | ||
if: github.event_name == 'issues' && github.event.action == 'opened' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_PROJECT_URL: https://github.com/orgs/OpenEnergyPlatform/projects/45 | ||
GITHUB_PROJECT_COLUMN_NAME: To do | ||
uses: actions/add-to-project@v1.0.2 | ||
with: | ||
project-url: https://github.com/orgs/OpenEnergyPlatform/projects/45 | ||
github-token: ${{ secrets.OEO_WORKFLOWS }} | ||
if: github.event_name == 'issues' | ||
- name: add-new-prs-to-repository-based-project-column | ||
uses: docker://takanabe/github-actions-automate-projects:v0.0.1 | ||
if: github.event_name == 'pull_request' && github.event.action == 'opened' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_PROJECT_URL: https://github.com/orgs/OpenEnergyPlatform/projects/45 | ||
GITHUB_PROJECT_COLUMN_NAME: Review in progress | ||
uses: actions/add-to-project@v1.0.2 | ||
with: | ||
project-url: https://github.com/orgs/OpenEnergyPlatform/projects/45 | ||
github-token: ${{ secrets.OEO_WORKFLOWS }} | ||
if: github.event_name == 'pull_request' |
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,30 @@ | ||
name: Label issues as "In discussion" | ||
on: | ||
issue_comment: | ||
types: [created] | ||
|
||
jobs: | ||
labelIssueAsInDiscussion: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- name: count | ||
id: count | ||
uses: akleinau/githubJSActions/DiscussedToColumn@master | ||
with: | ||
repo: https://api.github.com/repos/OpenEnergyPlatform/ontology | ||
- run: gh issue edit "$NUMBER" --remove-label "$LABELS" | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_REPO: ${{ github.repository }} | ||
NUMBER: ${{ github.event.issue.number }} | ||
LABELS: To do | ||
if: steps.count.outputs.continue == 'true' | ||
- run: gh issue edit "$NUMBER" --add-label "$LABELS" | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_REPO: ${{ github.repository }} | ||
NUMBER: ${{ github.event.issue.number }} | ||
LABELS: in discussion | ||
if: steps.count.outputs.continue == 'true' |
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,21 @@ | ||
name: Move issues to "In discussion" project column | ||
on: | ||
issues: | ||
types: [labeled] | ||
|
||
jobs: | ||
moveIssueToInDiscussionColumn: | ||
if: github.event_name == 'issues' && github.event.issue.state == 'open' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: PaperMC/update-projects-action@v0.2.0 | ||
with: | ||
github-token: "${{ secrets.OEO_WORKFLOWS }}" | ||
project-url: https://github.com/orgs/OpenEnergyPlatform/projects/45/views/1 | ||
column-field: Status | ||
clear-on-no-match: false | ||
label-to-column-map: | | ||
{ | ||
"To do": "To do", | ||
"in discussion": "In discussion" | ||
} |
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.