diff --git a/.github/prompts/PSModule.pr.prompt.md b/.github/prompts/PSModule.pr.prompt.md index 75661c9a..0cad74a5 100644 --- a/.github/prompts/PSModule.pr.prompt.md +++ b/.github/prompts/PSModule.pr.prompt.md @@ -6,6 +6,8 @@ description: Create a pull request with a release note style description, approp The user input to you can be provided directly by the agent or as a command argument - you **MUST** consider it before proceeding with the prompt (if not empty). +Use the GitHub MCP tools to create or update a pull request in the appropriate repository (fork or origin mode), with a structured release note style description, a title that includes an icon and change type, and labels based on the specified change type. + ## User input $ARGUMENTS @@ -69,7 +71,7 @@ $ARGUMENTS - Stop if the user cannot provide either of these. 5. **Generate PR title**: - - **If issue title retrieved**: Use format ` ` + - **If issue title retrieved**: Use format ` []: ` - Examples: - `🚀 [Feature]: Add support for custom module templates` - `🪲 [Fix]: Resolve null reference in parameter validation` diff --git a/.github/release.yml b/.github/release.yml deleted file mode 100644 index 35c6ae86..00000000 --- a/.github/release.yml +++ /dev/null @@ -1,18 +0,0 @@ -# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes - -changelog: - exclude: - labels: - - NoRelease - categories: - - title: 🌟 Breaking Changes - labels: - - Major - - Breaking - - title: 🚀 New Features - labels: - - Minor - - Feature - - title: Other Changes - labels: - - '*' diff --git a/.github/workflows/AfterAll-ModuleLocal.yml b/.github/workflows/AfterAll-ModuleLocal.yml index fc0c005b..6e230b81 100644 --- a/.github/workflows/AfterAll-ModuleLocal.yml +++ b/.github/workflows/AfterAll-ModuleLocal.yml @@ -50,7 +50,7 @@ jobs: SETTINGS: ${{ inputs.Settings }} steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Auto-Release.yml b/.github/workflows/Auto-Release.yml index 3b7d8e9e..643724c7 100644 --- a/.github/workflows/Auto-Release.yml +++ b/.github/workflows/Auto-Release.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false diff --git a/.github/workflows/BeforeAll-ModuleLocal.yml b/.github/workflows/BeforeAll-ModuleLocal.yml index 62097690..cb149b3d 100644 --- a/.github/workflows/BeforeAll-ModuleLocal.yml +++ b/.github/workflows/BeforeAll-ModuleLocal.yml @@ -50,7 +50,7 @@ jobs: Settings: ${{ inputs.Settings }} steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Build-Docs.yml b/.github/workflows/Build-Docs.yml index 3336fdcb..0095b63a 100644 --- a/.github/workflows/Build-Docs.yml +++ b/.github/workflows/Build-Docs.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Build-Module.yml b/.github/workflows/Build-Module.yml index 11248d2c..9d30bb9c 100644 --- a/.github/workflows/Build-Module.yml +++ b/.github/workflows/Build-Module.yml @@ -24,7 +24,7 @@ jobs: GH_TOKEN: ${{ github.token }} steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Build-Site.yml b/.github/workflows/Build-Site.yml index b10701dc..d770f2d0 100644 --- a/.github/workflows/Build-Site.yml +++ b/.github/workflows/Build-Site.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Get-Settings.yml b/.github/workflows/Get-Settings.yml index 4357e302..0cef886d 100644 --- a/.github/workflows/Get-Settings.yml +++ b/.github/workflows/Get-Settings.yml @@ -39,7 +39,8 @@ on: value: ${{ jobs.Get-Settings.outputs.Settings }} permissions: - contents: read # to checkout the repo + contents: read # to checkout the repo + pull-requests: write # to add labels to PRs jobs: Get-Settings: @@ -49,13 +50,13 @@ jobs: Settings: ${{ steps.Get-Settings.outputs.Settings }} steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 - name: Get-Settings - uses: PSModule/Get-PSModuleSettings@28c1805d689dc5bfcfba7489e76c34a6d33d7da8 # v1.4.0 + uses: PSModule/Get-PSModuleSettings@feature/important-file-changes id: Get-Settings with: SettingsPath: ${{ inputs.SettingsPath }} diff --git a/.github/workflows/Lint-Repository.yml b/.github/workflows/Lint-Repository.yml index 2a7122ec..a9f6445e 100644 --- a/.github/workflows/Lint-Repository.yml +++ b/.github/workflows/Lint-Repository.yml @@ -20,7 +20,7 @@ jobs: Settings: ${{ inputs.Settings }} steps: - name: Checkout repo - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Lint-SourceCode.yml b/.github/workflows/Lint-SourceCode.yml index bbe96827..d3a9b332 100644 --- a/.github/workflows/Lint-SourceCode.yml +++ b/.github/workflows/Lint-SourceCode.yml @@ -21,7 +21,7 @@ jobs: include: ${{ fromJson(inputs.Settings).TestSuites.SourceCode }} steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false diff --git a/.github/workflows/Linter.yml b/.github/workflows/Linter.yml index 6f3ba22a..05f128c8 100644 --- a/.github/workflows/Linter.yml +++ b/.github/workflows/Linter.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Publish-Module.yml b/.github/workflows/Publish-Module.yml index 40c6593d..d05ead21 100644 --- a/.github/workflows/Publish-Module.yml +++ b/.github/workflows/Publish-Module.yml @@ -24,7 +24,7 @@ jobs: SETTINGS: ${{ inputs.Settings }} steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Test-Module.yml b/.github/workflows/Test-Module.yml index bcedef37..8eb9dcfd 100644 --- a/.github/workflows/Test-Module.yml +++ b/.github/workflows/Test-Module.yml @@ -52,7 +52,7 @@ jobs: include: ${{ fromJson(inputs.Settings).TestSuites.PSModule }} steps: - name: Checkout repository - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false @@ -82,7 +82,7 @@ jobs: include: ${{ fromJson(inputs.Settings).TestSuites.PSModule }} steps: - name: Checkout repository - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false diff --git a/.github/workflows/Test-ModuleLocal.yml b/.github/workflows/Test-ModuleLocal.yml index 63b3c1f9..b08679f4 100644 --- a/.github/workflows/Test-ModuleLocal.yml +++ b/.github/workflows/Test-ModuleLocal.yml @@ -53,7 +53,7 @@ jobs: include: ${{ fromJson(inputs.Settings).TestSuites.Module }} steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Test-SourceCode.yml b/.github/workflows/Test-SourceCode.yml index 186b6f16..2e630fd6 100644 --- a/.github/workflows/Test-SourceCode.yml +++ b/.github/workflows/Test-SourceCode.yml @@ -21,7 +21,7 @@ jobs: include: ${{ fromJson(inputs.Settings).TestSuites.SourceCode }} steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 39615418..8b4f0919 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -67,6 +67,13 @@ permissions: id-token: write # to verify the deployment originates from an appropriate source jobs: + Debug: + name: Debug + runs-on: ubuntu-latest + steps: + - name: Debug + uses: PSModule/Debug@main + # Runs on: # - ✅ Open/Updated PR - Always runs to load configuration # - ✅ Merged PR - Always runs to load configuration diff --git a/README.md b/README.md index ecf59711..aa1c5091 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ Depending on the labels in the pull requests, the [workflow will result in diffe [workflow](#get-settings) - Reads the settings file `github/PSModule.yml` in the module repository to configure the workflow. -- Gathers context for the process from GitHub and the repo files, configuring what tests to run, if and what kind of release to create, and wether +- Gathers context for the process from GitHub and the repo files, configuring what tests to run, if and what kind of release to create, and whether to setup testing infrastructure and what operating systems to run the tests on. ### Build module