Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request scripts part 2 (Status Checks) #851

Draft
wants to merge 24 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
659f135
Removed unneeded paranthesis from functions
AdmiringWorm Jun 25, 2020
181612a
Added helper functions for parsing version data on chocolatey
AdmiringWorm Jun 25, 2020
897da9c
Added helper function for getting maintainers on chocolatey.org
AdmiringWorm Jun 25, 2020
b718d62
Added helper for getting new package information
AdmiringWorm Jun 25, 2020
962a5ce
Added small helpers for reading/writing known users file
AdmiringWorm Jun 25, 2020
3b7974c
Added function to help creating status comments
AdmiringWorm Jun 25, 2020
8769a3b
Added ability to create initial status check information
AdmiringWorm Jun 25, 2020
df49ce1
Added new field to version data class
AdmiringWorm Jun 25, 2020
48486e9
Changed sorting of tracked version in comment
AdmiringWorm Jun 25, 2020
b0fe25f
Fixed invalid values used for updating issues
AdmiringWorm Jun 25, 2020
7279efe
Added ability to run status checks on issues
AdmiringWorm Jun 25, 2020
664fa20
Corrected encodings on scripts
AdmiringWorm Jun 25, 2020
f813cdc
Added vscode chocolatey styling :smile:
AdmiringWorm Jun 25, 2020
003fa84
Added ability to run status check
AdmiringWorm Jun 25, 2020
882be18
Change Issue status initialization to store package name on missing p…
AdmiringWorm Jun 25, 2020
ef8a5f6
Changed away from [array]::Empty
AdmiringWorm Jun 25, 2020
482c10c
Fixed labels not changing
AdmiringWorm Jun 25, 2020
c78dddf
Corrected changing to in progress label when assigning users
AdmiringWorm Jun 25, 2020
974b50f
Removed if statement for status update
AdmiringWorm Jun 25, 2020
4f028c5
Updated Update-IssueStatus.ps1
AdmiringWorm Jun 25, 2020
9ad5e16
Replace spaces with dashes for package names
AdmiringWorm Jun 25, 2020
4e667f9
fixed invalid name of github workflow
AdmiringWorm Jun 25, 2020
9d8bc17
Added missing shell
AdmiringWorm Jun 25, 2020
df46f7e
Corrected function name to call
AdmiringWorm Jun 25, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed invalid name of github workflow
  • Loading branch information
AdmiringWorm committed Jun 25, 2020
commit 4e667f9a9ce55ab558eb243e0b379fd9babde3db
36 changes: 18 additions & 18 deletions .github/workflows/handle-comments.yml
Original file line number Diff line number Diff line change
@@ -72,21 +72,21 @@ jobs:
} else {
Test-NewIssue -issueNumber ${{ github.event.issue.number }} -repository "${{ github.event.repository.full_name }}"
}
status_recheck:
if: ${{ (needs.comments.outputs.success == 'True' || startsWith(github.event.comment.body, '/status check') && github.event.issue.state == 'open' }}
runs-on: ubuntu-latest
needs: comments
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2.2.0
- name: Pull latest commits
run: git pull
- name: Run status check on Issue
run: |
Import-Module "${{ github.workspace }}\scripts\validation.psm1"
if ("${{ github.event.comment.body }}" -match "^/status check") {
Update-Issue -issueNumber ${{ github.event.issue.number }} -repository "${{ github.event.repository.full_name }}" -commentUser "${{ github.event.sender.login }}"
} else {
Update-Issue -issueNumber ${{ github.event.issue.number }} -repository "${{ github.event.repository.full_name }}"
}
statusrecheck:
if: ${{ (needs.comments.outputs.success == 'True' || startsWith(github.event.comment.body, '/status check')) && github.event.issue.state == 'open' }}
runs-on: ubuntu-latest
needs: comments
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2.2.0
- name: Pull latest commits
run: git pull
- name: Run status check on Issue
run: |
Import-Module "${{ github.workspace }}\scripts\validation.psm1"
if ("${{ github.event.comment.body }}" -match "^/status check") {
Update-Issue -issueNumber ${{ github.event.issue.number }} -repository "${{ github.event.repository.full_name }}" -commentUser "${{ github.event.sender.login }}"
} else {
Update-Issue -issueNumber ${{ github.event.issue.number }} -repository "${{ github.event.repository.full_name }}"
}