diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 279f9eaaf..59198cf14 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -2,7 +2,7 @@ blank_issues_enabled: true contact_links: - name: Ask a question or provide feedback about using this action about: For general Q&A and feedback, see the Discussions tab. - url: https://github.com/actions/github-script/discussions + url: https://github.com/meta-introspector/github-script/discussions - name: Ask a question or provide feedback about GitHub Actions about: Please check out the GitHub community forum for discussions about GitHub Actions url: https://github.com/orgs/community/discussions/categories/actions diff --git a/.github/ISSUE_TEMPLATE/config.yml.back b/.github/ISSUE_TEMPLATE/config.yml.back new file mode 100644 index 000000000..59198cf14 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml.back @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: Ask a question or provide feedback about using this action + about: For general Q&A and feedback, see the Discussions tab. + url: https://github.com/meta-introspector/github-script/discussions + - name: Ask a question or provide feedback about GitHub Actions + about: Please check out the GitHub community forum for discussions about GitHub Actions + url: https://github.com/orgs/community/discussions/categories/actions diff --git a/.github/ISSUE_TEMPLATE/config.yml.back.back b/.github/ISSUE_TEMPLATE/config.yml.back.back new file mode 100644 index 000000000..279f9eaaf --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml.back.back @@ -0,0 +1,8 @@ +blank_issues_enabled: true +contact_links: + - name: Ask a question or provide feedback about using this action + about: For general Q&A and feedback, see the Discussions tab. + url: https://github.com/actions/github-script/discussions + - name: Ask a question or provide feedback about GitHub Actions + about: Please check out the GitHub community forum for discussions about GitHub Actions + url: https://github.com/orgs/community/discussions/categories/actions diff --git a/.github/actions/install-dependencies/action.yml b/.github/actions/install-dependencies/action.yml index c5f23930e..6be5f2815 100644 --- a/.github/actions/install-dependencies/action.yml +++ b/.github/actions/install-dependencies/action.yml @@ -3,7 +3,7 @@ description: 'Set up node and install dependencies' runs: using: 'composite' steps: - - uses: actions/setup-node@v3 + - uses: meta-introspector/setup-node@v3 with: node-version: '20.x' cache: npm diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 817ad8b17..6260e8cc8 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: meta-introspector/checkout@main - uses: ./.github/actions/install-dependencies @@ -35,7 +35,7 @@ jobs: id: diff # If index.js was different than expected, upload the expected version as an artifact - - uses: actions/upload-artifact@v3 + - uses: meta-introspector/upload-artifact@main if: ${{ failure() && steps.diff.conclusion == 'failure' }} with: name: dist diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd2216d96..f5bd7cc2f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: ci: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: meta-introspector/checkout@main - uses: ./.github/actions/install-dependencies - run: npm run style:check - run: npm test diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f08e12701..5a1e174ec 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,11 +38,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: meta-introspector/checkout@main # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: meta-introspector/codeql-action/init@main with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -56,7 +56,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v2 + uses: meta-introspector/codeql-action/autobuild@main # â„šī¸ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -69,4 +69,4 @@ jobs: # ./location_of_script_within_repo/buildscript.sh - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: meta-introspector/codeql-action/analyze@main diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 13494d988..6a97f561d 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -11,7 +11,7 @@ jobs: name: 'Integration test: return' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: meta-introspector/checkout@main - id: output-set uses: ./ with: @@ -31,7 +31,7 @@ jobs: name: 'Integration test: relative-path require' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: meta-introspector/checkout@main - id: relative-require uses: ./ with: @@ -49,7 +49,7 @@ jobs: name: 'Integration test: npm package require' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: meta-introspector/checkout@main - uses: ./.github/actions/install-dependencies - id: npm-require uses: ./ @@ -69,7 +69,7 @@ jobs: name: 'Integration test: GraphQL previews option' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: meta-introspector/checkout@main - uses: ./.github/actions/install-dependencies - id: previews-default name: Default previews not set @@ -122,7 +122,7 @@ jobs: name: 'Integration test: user-agent option' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: meta-introspector/checkout@main - uses: ./.github/actions/install-dependencies - id: user-agent-default name: Default user-agent not set @@ -152,7 +152,7 @@ jobs: result-encoding: string - run: | echo "- Validating user-agent default" - expected="actions/github-script octokit-core.js/" + expected="meta-introspector/github-script octokit-core.js/" if [[ "${{steps.user-agent-default.outputs.result}}" != "$expected"* ]]; then echo $'::error::\u274C' "Expected user-agent to start with '$expected', got ${{steps.user-agent-default.outputs.result}}" exit 1 @@ -179,7 +179,7 @@ jobs: name: "Integration test: debug option (runner.debug mode ${{ matrix.environment && 'enabled' || 'disabled' }})" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: meta-introspector/checkout@main - uses: ./.github/actions/install-dependencies - id: debug-default name: Default debug not set @@ -253,7 +253,7 @@ jobs: name: 'Integration test: base-url option' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: meta-introspector/checkout@main - uses: ./.github/actions/install-dependencies - id: base-url-default diff --git a/.github/workflows/licensed.yml b/.github/workflows/licensed.yml index 7afc7a306..22bfae8fe 100644 --- a/.github/workflows/licensed.yml +++ b/.github/workflows/licensed.yml @@ -13,11 +13,11 @@ jobs: runs-on: ubuntu-latest name: Check licenses steps: - - uses: actions/checkout@v3 + - uses: meta-introspector/checkout@main with: fetch-depth: 0 # prefer to use a full fetch for licensed workflows - # https://github.com/jonabc/setup-licensed/releases/tag/v1.1.1 - - uses: jonabc/setup-licensed@82c5f4d19e8968efa74a25b132922382c2671fe2 + # https://github.com/meta-introspector/setup-licensed/releases/tag/v1.1.1 + - uses: meta-introspector/setup-licensed@main with: version: '3.x' - uses: ./.github/actions/install-dependencies diff --git a/.github/workflows/pull-request-test.yml b/.github/workflows/pull-request-test.yml index fb87ec3a9..60ecc3adf 100644 --- a/.github/workflows/pull-request-test.yml +++ b/.github/workflows/pull-request-test.yml @@ -9,7 +9,7 @@ jobs: pull-request-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: meta-introspector/checkout@main - uses: ./ with: script: | @@ -22,9 +22,9 @@ jobs: // Find any comment already made by the bot. const botComment = comments.find(comment => comment.user.id === 41898282) - const commentBody = "Hello from actions/github-script! (${{ github.sha }})" + const commentBody = "Hello from meta-introspector/github-script! (${{ github.sha }})" - if (context.payload.pull_request.head.repo.full_name !== 'actions/github-script') { + if (context.payload.pull_request.head.repo.full_name !== 'meta-introspector/github-script') { console.log('Not attempting to write comment on PR from fork'); } else { if (botComment) { diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 7a3b654ac..f62d582d4 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -10,7 +10,7 @@ jobs: name: Mark issues and PRs as stale runs-on: ubuntu-latest steps: - - uses: actions/stale@v3 + - uses: meta-introspector/stale@main with: repo-token: ${{ secrets.GITHUB_TOKEN }} exempt-issue-labels: Not Stale diff --git a/github-actions-summary.md b/github-actions-summary.md new file mode 100644 index 000000000..0416aed6e --- /dev/null +++ b/github-actions-summary.md @@ -0,0 +1,2 @@ +### GitHub Actions Version Updates +Hacked