diff --git a/.github/workflows/sync-codeql-cli.yml b/.github/workflows/sync-codeql-cli.yml index a4b3e550b094..e9698bb7ae3a 100644 --- a/.github/workflows/sync-codeql-cli.yml +++ b/.github/workflows/sync-codeql-cli.yml @@ -109,3 +109,9 @@ jobs: If CI does not pass or other problems arise, contact #docs-engineering on slack.' \ --repo github/docs-internal \ --label "codeql-cli-pipeline,skip FR board,ready-for-doc-review" + + - uses: ./.github/actions/slack-alert + if: ${{ failure() && github.event_name != 'workflow_dispatch' }} + with: + slack_channel_id: ${{ secrets.DOCS_ALERTS_SLACK_CHANNEL_ID }} + slack_token: ${{ secrets.SLACK_DOCS_BOT_TOKEN }} diff --git a/.github/workflows/sync-graphql.yml b/.github/workflows/sync-graphql.yml index 3b00847876bf..b0d964b8d03d 100644 --- a/.github/workflows/sync-graphql.yml +++ b/.github/workflows/sync-graphql.yml @@ -1,4 +1,4 @@ -name: Update GraphQL files +name: Sync GraphQL schema # **What it does**: This updates our GraphQL schemas. # **Why we have it**: We want our GraphQL docs up to date. diff --git a/.github/workflows/sync-openapi.yml b/.github/workflows/sync-openapi.yml index 7e28c4294484..339fb7eac14e 100644 --- a/.github/workflows/sync-openapi.yml +++ b/.github/workflows/sync-openapi.yml @@ -101,7 +101,8 @@ jobs: If CI does not pass or other problems arise, contact #docs-engineering on slack.' \ --repo github/docs-internal \ - --label github-openapi-bot + --label github-openapi-bot \ + --head=$branchname \ - uses: ./.github/actions/slack-alert if: ${{ failure() && github.event_name != 'workflow_dispatch' }} diff --git a/content/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security.md b/content/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security.md index 5cf2fb4b5596..e748d615d626 100644 --- a/content/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security.md +++ b/content/billing/managing-billing-for-your-products/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security.md @@ -38,12 +38,12 @@ There are a few key differences between metered and volume billing for {% data v * **Volume billing:** - * Purchase a defined number of licenses (e.g. 100 licenses). + * Purchase a defined number of licenses (for example, 100 licenses). * If usage exceeds purchased licenses, you will need to purchase additional licenses to cover this overage usage. ### Managing committers and repositories -{% data variables.product.prodname_GH_advanced_security %} is billed per committer and enabled by repository. If a committer is removed from an organization or enterprise, they are no longer billable as of the removal day. However, if you disable {% data variables.product.prodname_GH_advanced_security %} on a repository, the committers tied to that repository will remain billable until the end of the current monthly billing cycle. Prorated billing applies if a committer starts partway through the month. For an example of how this works, see [Understanding usage](/billing/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security#understanding-usage). +{% data variables.product.prodname_GH_advanced_security %} is billed per committer and enabled by repository. If you remove a committer from an organization or enterprise, or if you disable {% data variables.product.prodname_GH_advanced_security %} on a repository, the committers will remain billable until the end of the current monthly billing cycle. Prorated billing applies only when a committer starts partway through the month. For examples of how committers are tracked and billed, see [Understanding usage](/billing/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security#understanding-usage). If you have further questions about using {% data variables.product.prodname_GH_advanced_security %}, you can contact your account manager in {% data variables.contact.contact_enterprise_sales %}. diff --git a/src/secret-scanning/data/public-docs.yml b/src/secret-scanning/data/public-docs.yml index 6ac6c601fbc5..998da2a329c5 100644 --- a/src/secret-scanning/data/public-docs.yml +++ b/src/secret-scanning/data/public-docs.yml @@ -1878,7 +1878,7 @@ hasValidityCheck: false isduplicate: false - provider: Hubspot - supportedSecret: 'Hubspot Private Apps User Token ' + supportedSecret: Hubspot Private Apps User Token secretType: hubspot_private_apps_user_token versions: fpt: '*' diff --git a/src/secret-scanning/lib/config.json b/src/secret-scanning/lib/config.json index a83ad0e0391a..042130d0a061 100644 --- a/src/secret-scanning/lib/config.json +++ b/src/secret-scanning/lib/config.json @@ -1,5 +1,5 @@ { - "sha": "bfdf16111828f166642727f533b60d4d0e054d90", - "blob-sha": "633381a5c2da040948606c15f58ec7c977047c5b", + "sha": "cbe3e18d7f44192a2834d7fa44ff85bd1427050d", + "blob-sha": "8dd5008bd4587fef156083689b4063392949d52c", "targetFilename": "code-security/secret-scanning/introduction/supported-secret-scanning-patterns" } \ No newline at end of file diff --git a/src/workflows/close-dangling-prs.ts b/src/workflows/close-dangling-prs.ts index caa7e517da73..43ced3d4a2d3 100644 --- a/src/workflows/close-dangling-prs.ts +++ b/src/workflows/close-dangling-prs.ts @@ -1,7 +1,6 @@ import { program, Option } from 'commander' import github from './github.js' -import { getActionContext } from './action-context.js' import { octoSecondaryRatelimitRetry } from './secondary-ratelimit-retry' const DRY_RUN = process.env.DRY_RUN || 'false' @@ -32,19 +31,13 @@ const CONFIGS: Config[] = [ }, ] -let owner = 'github' -let repo = 'docs-internal' - -if (process.env.GITHUB_EVENT_PATH) { - const actionContext = getActionContext() - owner = actionContext.owner - repo = actionContext.repo -} +const owner = process.env.GITHUB_REPOSITORY_OWNER || 'github' +const repo = process.env.GITHUB_REPOSITORY?.split('/')[1] || 'docs-internal' program .description('Finds PRs with "FOR PREVIEW ONLY" in the title that are too old and closes them.') - .option('owner', 'Owner of the repository', owner) - .option('repo', 'Name of the repository', repo) + .option('--owner', 'Owner of the repository', owner) + .option('--repo', 'Name of the repository', repo) .addOption( new Option( '--dry-run',