Skip to content

Commit

Permalink
chore: rename pl-stflt to ipdxco (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Mar 21, 2024
1 parent 29e26c1 commit 3a1a787
Show file tree
Hide file tree
Showing 19 changed files with 23 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/actions/inspect-releaser/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- id: releaser
uses: pl-strflt/uci/.github/actions/inspect-releaser@main
uses: ipdxco/unified-github-workflows/.github/actions/inspect-releaser@main
with:
artifacts-url: ${{ github.event.inputs.artifacts-url || github.event.workflow_run.artifacts_url }}
- if: ${{ steps.releaser.outputs.id == '' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/inspect-releaser/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ runs:
using: composite
steps:
- id: workflow-run
uses: pl-strflt/rich-workflow-run@v1
uses: ipdxco/workflow-run-context@v1
with:
artifacts-url: ${{ inputs.artifacts-url }}
artifact-names: release
2 changes: 1 addition & 1 deletion .github/workflows/check-yaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/render-templates
- uses: pl-strflt/validate-yaml-schema@v1
- uses: ipdxco/validate-yaml-schema@v1
with:
yamlSchemasJson: |
{
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
head: branch.name,
base: repo.default_branch,
title: `ci: ${branch.name}`,
body: `This PR was created automatically by the @web3-bot as a part of the [Unified CI](https://github.com/pl-strflt/uci) project.`
body: `This PR was created automatically by the @web3-bot as a part of the [Unified CI](https://github.com/ipdxco/unified-github-workflows) project.`
})
core.info(`${pr.data.html_url} created successfully`)
} catch(error) {
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
with:
go-version: stable
- id: config
uses: pl-strflt/uci/.github/actions/read-config@main
uses: ipdxco/unified-github-workflows/.github/actions/read-config@main
- id: go-mod
uses: pl-strflt/uci/.github/actions/read-go-mod@main
uses: ipdxco/unified-github-workflows/.github/actions/read-go-mod@main
- id: go
uses: actions/setup-go@v5
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ jobs:
go-version: stable
# cache: false
- id: config
uses: pl-strflt/uci/.github/actions/read-config@main
uses: ipdxco/unified-github-workflows/.github/actions/read-config@main
- id: go-mod
uses: pl-strflt/uci/.github/actions/read-go-mod@main
uses: ipdxco/unified-github-workflows/.github/actions/read-go-mod@main
- id: go
env:
MATRIX_GO: ${{ matrix.go }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
core.setOutput('json', JSON.stringify(pr));
- uses: actions/checkout@v4
- id: go-mod
uses: pl-strflt/uci/.github/actions/read-go-mod@main
uses: ipdxco/unified-github-workflows/.github/actions/read-go-mod@main
- uses: actions/setup-go@v5
with:
go-version: ${{ fromJSON(steps.go-mod.outputs.json).Go }}.x
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- id: release
uses: pl-strflt/changelog-driven-release@v1
uses: ipdxco/changelog-driven-release@v1
with:
path: CHANGELOG.md
draft: ${{ github.event_name == 'pull_request' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tagpush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env:
ISSUE_BODY: |
@{{ env.PUSHER }} just pushed a release tag: {{ env.TAGNAME }}.
Please manually verify validity (using [\`gorelease\`](https://pkg.go.dev/golang.org/x/exp/cmd/gorelease)), and update \`version.json\` to reflect the manually released version, if necessary.
In the future, please use the [automated process](https://github.com/pl-strflt/uci/blob/master/VERSIONING.md).
In the future, please use the [automated process](https://github.com/ipdxco/unified-github-workflows/blob/master/VERSIONING.md).
jobs:
unit:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [1.0.1] - 2024-03-21
### Changed
- rename pl-strflt/* to ipdxco/*

## [1.0.0] - 2024-03-21
### Changed
- updated codecov-action
Expand Down
1 change: 0 additions & 1 deletion CODEOWNERS

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Most repositories won't need any customization, and the workflows defined here w

Some aspects of Unified CI workflows are configurable through [configuration variables](https://docs.github.com/en/actions/learn-github-actions/variables#creating-configuration-variables-for-a-repository).

You can customise the runner type for `go-test` through `UCI_GO_TEST_RUNNER_UBUNTU`, `UCI_GO_TEST_RUNNER_WINDOWS` and `UCI_GO_TEST_RUNNER_MACOS` configuration variables. This option will be useful for repositories wanting to use more powerful, [PL self-hosted GitHub Actions runners](https://github.com/pl-strflt/tf-aws-gh-runner). Make sure the value of the variable is valid JSON.
You can customise the runner type for `go-test` through `UCI_GO_TEST_RUNNER_UBUNTU`, `UCI_GO_TEST_RUNNER_WINDOWS` and `UCI_GO_TEST_RUNNER_MACOS` configuration variables. This option will be useful for repositories wanting to use more powerful, [PL self-hosted GitHub Actions runners](https://github.com/pl-ipdxco/custom-github-runners). Make sure the value of the variable is valid JSON.

`UCI_*_RUNNER_*` variables expect the values to be JSON formatted. For example, if you want the `MacOS` runner used in `Go Test` workflow to be `macos-12` specifically, you'd set `UCI_GO_TEST_RUNNER_MACOS` to `"macos-12"` (notice the `"` around the string); and if you want your `Ubuntu` runner to be a self hosted machine with labels `this`, `is`, `my`, `self-hosted`, `runner`, you'd set `UCI_GO_TEST_RUNNER_UBUNTU` to `["this", "is", "my", "self-hosted", "runner"]`.

Expand Down
2 changes: 1 addition & 1 deletion scripts/check-3rd-party.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ for line in `sed -ne 's/[[:space:]-]*uses:[[:space:]]*//p' $1 | sed -e 's/\s*#.*
# "actions": workflows authored by GitHub
# "protocol": workflows published in the protocol org
# "ipfs": workflows published in the ipfs org
if [[ $author == "." || $author == "actions" || $author == "protocol" || $author == "ipfs" || $author == "pl-strflt" ]]; then continue; fi
if [[ $author == "." || $author == "actions" || $author == "protocol" || $author == "ipfs" || $author == "ipdxco" ]]; then continue; fi
version=`echo $line | awk -F@ '{print $2}' | awk '{print $1}'`
if ! [[ "$version" =~ ^[a-f0-9]{40}$ ]]; then
status=1
Expand Down
2 changes: 1 addition & 1 deletion templates/.github/workflows/go-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ concurrency:

jobs:
go-check:
uses: pl-strflt/uci/.github/workflows/go-check.yml@${{{ .config.versions.uci // (.source.tag | sub("\\.[^.\\-\\+]+(?=\\-|\\+|$)"; "")) }}}
uses: ipdxco/unified-github-workflows/.github/workflows/go-check.yml@${{{ .config.versions.uci // (.source.tag | sub("\\.[^.\\-\\+]+(?=\\-|\\+|$)"; "")) }}}
2 changes: 1 addition & 1 deletion templates/.github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ concurrency:

jobs:
go-test:
uses: pl-strflt/uci/.github/workflows/go-test.yml@${{{ .config.versions.uci // (.source.tag | sub("\\.[^.\\-\\+]+(?=\\-|\\+|$)"; "")) }}}
uses: ipdxco/unified-github-workflows/.github/workflows/go-test.yml@${{{ .config.versions.uci // (.source.tag | sub("\\.[^.\\-\\+]+(?=\\-|\\+|$)"; "")) }}}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
2 changes: 1 addition & 1 deletion templates/.github/workflows/js-test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:

jobs:
js-test-and-release:
uses: pl-strflt/uci/.github/workflows/js-test-and-release.yml@${{{ .config.versions.uci // (.source.tag | sub("\\.[^.\\-\\+]+(?=\\-|\\+|$)"; "")) }}}
uses: ipdxco/unified-github-workflows/.github/workflows/js-test-and-release.yml@${{{ .config.versions.uci // (.source.tag | sub("\\.[^.\\-\\+]+(?=\\-|\\+|$)"; "")) }}}
secrets:
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion templates/.github/workflows/release-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ concurrency:

jobs:
release-check:
uses: pl-strflt/uci/.github/workflows/release-check.yml@${{{ .config.versions.uci // (.source.tag | sub("\\.[^.\\-\\+]+(?=\\-|\\+|$)"; "")) }}}
uses: ipdxco/unified-github-workflows/.github/workflows/release-check.yml@${{{ .config.versions.uci // (.source.tag | sub("\\.[^.\\-\\+]+(?=\\-|\\+|$)"; "")) }}}
2 changes: 1 addition & 1 deletion templates/.github/workflows/releaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ concurrency:

jobs:
releaser:
uses: pl-strflt/uci/.github/workflows/releaser.yml@${{{ .config.versions.uci // (.source.tag | sub("\\.[^.\\-\\+]+(?=\\-|\\+|$)"; "")) }}}
uses: ipdxco/unified-github-workflows/.github/workflows/releaser.yml@${{{ .config.versions.uci // (.source.tag | sub("\\.[^.\\-\\+]+(?=\\-|\\+|$)"; "")) }}}
2 changes: 1 addition & 1 deletion templates/.github/workflows/tagpush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ concurrency:

jobs:
releaser:
uses: pl-strflt/uci/.github/workflows/tagpush.yml@${{{ .config.versions.uci // (.source.tag | sub("\\.[^.\\-\\+]+(?=\\-|\\+|$)"; "")) }}}
uses: ipdxco/unified-github-workflows/.github/workflows/tagpush.yml@${{{ .config.versions.uci // (.source.tag | sub("\\.[^.\\-\\+]+(?=\\-|\\+|$)"; "")) }}}

0 comments on commit 3a1a787

Please sign in to comment.