From a59c7cc0be939361e55440f37024504374777330 Mon Sep 17 00:00:00 2001 From: James Rosewell Date: Sat, 13 Jun 2026 09:26:52 +0100 Subject: [PATCH 1/2] Add UTM parameters to 51degrees.com links Apply the standard vocabulary so the Content Team can trace traffic to its exact source: utm_source (github|code|nuget|npm|maven|packagist), utm_medium (readme|docs|example|comment|package), utm_campaign = repo name, utm_content = file path slug, utm_term = location within the file (nearest heading, enclosing member, or resource key). Normalise http, www and protocol-relative variants to https://51degrees.com in the process. --- ci/README.md | 2 +- readme.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/README.md b/ci/README.md index d14b264..5f15a9b 100644 --- a/ci/README.md +++ b/ci/README.md @@ -4,5 +4,5 @@ This API complies with the `common-ci` approach. The following secrets are required: * `ACCESS_TOKEN` - GitHub [access token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#about-personal-access-tokens) for cloning repos, creating PRs, etc. * Example: `github_pat_l0ng_r4nd0m_s7r1ng` -* `SUPER_RESOURCE_KEY` - [resource key](https://51degrees.com/documentation/4.4/_info__resource_keys.html) for integration tests +* `SUPER_RESOURCE_KEY` - [resource key](https://51degrees.com/documentation/_info__resource_keys.html?utm_source=github&utm_medium=readme&utm_campaign=pipeline-php-cloudrequestengine&utm_content=ci-readme.md&utm_term=api-specific-ci-cd-approach) for integration tests * Example: `R4nd0m-S7r1ng` diff --git a/readme.md b/readme.md index ece06a9..00f9628 100644 --- a/readme.md +++ b/readme.md @@ -1,8 +1,8 @@ # 51Degrees PHP Cloud Request Engine -![51Degrees](https://51degrees.com/DesktopModules/FiftyOne/Distributor/Logo.ashx?utm_source=github&utm_medium=repository&utm_content=readme_main&utm_campaign=php-open-source "Data rewards the curious") **PHP Pipeline API** +![51Degrees](https://51degrees.com/img/logo.png?utm_source=github&utm_medium=readme&utm_campaign=pipeline-php-cloudrequestengine&utm_content=readme.md&utm_term=51degrees-php-cloud-request-engine "Data rewards the curious") **PHP Pipeline API** -[Developer Documentation](https://51degrees.com/documentation/4.2/index.html?utm_source=github&utm_medium=repository&utm_content=documentation&utm_campaign=php-open-source "developer documentation") +[Developer Documentation](https://51degrees.com/documentation/index.html?utm_source=github&utm_medium=readme&utm_campaign=pipeline-php-cloudrequestengine&utm_content=readme.md&utm_term=51degrees-php-cloud-request-engine "developer documentation") ## Introduction This project contains the source code for the CloudrequestEngine for the PHP implementation of the 51Degrees Pipeline API. From 909aabc7d384360d6544d7af827673aec947fa4b Mon Sep 17 00:00:00 2001 From: James Rosewell Date: Sat, 13 Jun 2026 09:26:59 +0100 Subject: [PATCH 2/2] Add UTM link lint workflow --- .github/workflows/utm-link-lint.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/utm-link-lint.yml diff --git a/.github/workflows/utm-link-lint.yml b/.github/workflows/utm-link-lint.yml new file mode 100644 index 0000000..2edc672 --- /dev/null +++ b/.github/workflows/utm-link-lint.yml @@ -0,0 +1,25 @@ +name: UTM link lint + +on: + pull_request: + push: + branches: + - main + workflow_dispatch: + +jobs: + utm-link-lint: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Checkout common-ci + uses: actions/checkout@v4 + with: + repository: 51Degrees/common-ci + path: utm-lint-common-ci + + - name: Lint 51degrees.com links + shell: pwsh + run: ./utm-lint-common-ci/scripts/utm-lint.ps1 -RepoRoot .