Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ on:
description: |
Enable automatic approval and merge of PRs initiated by a bot.

type: boolean
type: string
required: false
default: true
default: 'true'
organization-bot:
description: |
The bot name for your organization,
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
contents: write
pull-requests: write
runs-on: ubuntu-latest
if: ${{ (inputs.enable-organization-bot == 'true' || inputs.enable-organization-bot == true) && github.event.pull_request.user.login == inputs.organization-bot }}
if: ${{ inputs.enable-organization-bot == 'true' && github.event.pull_request.user.login == inputs.organization-bot }}
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/bump-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ on:
inputs:
bump-patch:
description: Bump a patch version release
type: boolean
type: string
required: false
default: true
default: 'true'
bump-minor:
description: Bump a minor version release
type: boolean
type: string
required: false
default: false
default: 'false'
bump-major:
description: Bump a major version release
type: boolean
type: string
required: false
default: false
default: 'false'
tag-message-title:
description: Tag message title to prepend to the release notes
required: false
Expand All @@ -48,8 +48,8 @@ on:

When enabled, you must pass the GPG secrets to this workflow.
required: false
type: boolean
default: true
type: string
default: 'true'
cliff-config:
type: string
required: false
Expand Down Expand Up @@ -125,10 +125,10 @@ jobs:
fi

echo "next-tag=${NEXT_TAG}" >> "$GITHUB_OUTPUT"
echo "::notice title=next-tag:${NEXT_TAG}"
echo "::notice title=next-tag::${NEXT_TAG}"
-
name: Configure bot credentials
if: ${{ inputs.enable-tag-signing == 'true' || inputs.enable-tag-signing == true }}
if: ${{ inputs.enable-tag-signing == 'true' }}
uses: go-openapi/gh-actions/ci-jobs/bot-credentials@6c7952706aa7afa9141262485767d9270ef5b00b # v1.3.0
# This is using the GPG signature of bot-go-openapi.
#
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
BODY=$(echo "${MESSAGE_BODY}"|tr '|' '\n')
MESSAGE=$(printf "%s\n%s\n" "${MESSAGE}" "${BODY}")
fi
echo "::notice title=tag-message:${MESSAGE}"
echo "::notice title=tag-message::${MESSAGE}"

SIGNED=""
if [[ '${{ inputs.enable-tag-signing }}' == 'true' ]] ; then
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ on:

When enabled, commits in the pull request will be signed with the bot's GPG key.
required: false
type: boolean
default: true
type: string
default: 'true'
secrets:
github-app-id:
description: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/fuzz-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
echo "matrix<<EOF" >> "${GITHUB_OUTPUT}"
printenv fuzz_tests >> "${GITHUB_OUTPUT}"
echo "EOF" >> "${GITHUB_OUTPUT}"
echo "::notice title=Fuzz tests found:${fuzz_tests}"
echo "::notice title=Fuzz tests found::${fuzz_tests}"

fuzz-test:
name: fuzz test
Expand Down Expand Up @@ -155,4 +155,4 @@ jobs:
name: Report fuzz corpus cache size
run: |
FINAL_SIZE=$(du -m "${CORPUS_DIR}"|cut -f1)
echo "::notice title=fuzz corpus size:${FINAL_SIZE}MB"
echo "::notice title=fuzz corpus size::${FINAL_SIZE}MB"
2 changes: 1 addition & 1 deletion .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
-
name: Tests completed
run: |
echo "::notice title=Success:All tests passed"
echo "::notice title=Success::All tests passed"

collect-coverage:
needs: [test-complete]
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/local-bump-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ on:
inputs:
bump-patch:
description: Bump a patch version release
type: boolean
type: string
required: false
default: true
default: 'true'
bump-minor:
description: Bump a minor version release
type: boolean
type: string
required: false
default: false
default: 'false'
bump-major:
description: Bump a major version release
type: boolean
type: string
required: false
default: false
default: 'false'
tag-message-title:
description: Tag message title to prepend to the release notes
required: false
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
190 changes: 0 additions & 190 deletions experimental/go-test-monorepo.yml

This file was deleted.

19 changes: 0 additions & 19 deletions experimental/local-monorepo-go-test.yml

This file was deleted.

10 changes: 5 additions & 5 deletions experimental/pr-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,18 +99,18 @@ jobs:
echo "proceed=true" >> "${GITHUB_OUTPUT}"

- name: Download message artifact
if: ${{ steps.check_pr.outputs.proceed == 'true'}}
if: ${{ steps.check_pr.outputs.proceed == 'true' }}
id: download
uses: actions/download-artifact@v5
with:
run-id: "${{ inputs.run_id }}"
repository: "${{ env.TARGET }}"
name: "${{ inputs.artifact_name }}"
path: artifacts/
github-token: ${{secrets.GITHUB_TOKEN}}
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Check message artifact size
if: ${{ steps.check_pr.outputs.proceed == 'true'}}
if: ${{ steps.check_pr.outputs.proceed == 'true' }}
run: |
MESSAGE_FILE="${{ steps.download.outputs.download-path }}/${{ inputs.artifact_name }}"
SIZE=$(cat "${MESSAGE_FILE}"|wc -c)
Expand All @@ -124,7 +124,7 @@ jobs:
fi

- name: Find previous PR comment
if: ${{ steps.check_pr.outputs.proceed == 'true'}}
if: ${{ steps.check_pr.outputs.proceed == 'true' }}
uses: peter-evans/find-comment@v3
id: find_comment
with:
Expand All @@ -135,7 +135,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Create or update PR comment
if: ${{ steps.check_pr.outputs.proceed == 'true'}}
if: ${{ steps.check_pr.outputs.proceed == 'true' }}
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ inputs.pr_number }}
Expand Down
Loading