Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump peter-evans/create-issue-from-file from b4f9ee0a9d4abbfc6986601d9b1a4f8f8e74c77e to 1c37a3538f1016517235b2ad3311d75bf0dd4a41 #1409

Closed
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
Bump peter-evans/create-issue-from-file
Bumps [peter-evans/create-issue-from-file](https://github.com/peter-evans/create-issue-from-file) from b4f9ee0a9d4abbfc6986601d9b1a4f8f8e74c77e to 1c37a3538f1016517235b2ad3311d75bf0dd4a41.
- [Release notes](https://github.com/peter-evans/create-issue-from-file/releases)
- [Commits](peter-evans/create-issue-from-file@b4f9ee0...1c37a35)

---
updated-dependencies:
- dependency-name: peter-evans/create-issue-from-file
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] authored Dec 16, 2024
commit 30fdfb4db7c663aa96f35013c29ddb139021767a
2 changes: 1 addition & 1 deletion .github/workflows/check-all-english-links.yml
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@ jobs:
- if: ${{ failure() }}
name: Create issue from file
id: broken-link-report
uses: peter-evans/create-issue-from-file@b4f9ee0a9d4abbfc6986601d9b1a4f8f8e74c77e
uses: peter-evans/create-issue-from-file@1c37a3538f1016517235b2ad3311d75bf0dd4a41
with:
token: ${{ env.GITHUB_TOKEN }}

2 changes: 1 addition & 1 deletion .github/workflows/check-broken-links-github-github.yml
Original file line number Diff line number Diff line change
@@ -66,7 +66,7 @@ jobs:
- if: ${{ failure() }}
name: Create issue from file
id: github-github-broken-link-report
uses: peter-evans/create-issue-from-file@b4f9ee0a9d4abbfc6986601d9b1a4f8f8e74c77e
uses: peter-evans/create-issue-from-file@1c37a3538f1016517235b2ad3311d75bf0dd4a41
with:
token: ${{ env.GITHUB_TOKEN }}
title: ${{ steps.check.outputs.title }}

Unchanged files with check annotations Beta

test('all used actions are allowed in .github/allowed-actions.js', () => {
expect(allUsedActions.length).toBeGreaterThan(0)
const unusedActions = difference(allowedActions, allUsedActions)
expect(unusedActions).toEqual([])

Check failure on line 37 in tests/unit/actions-workflows.js

GitHub Actions / test (unit)

Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 3 - Array [] + Array [ + "peter-evans/create-issue-from-file@b4f9ee0a9d4abbfc6986601d9b1a4f8f8e74c77e", + ] at Object.<anonymous> (/home/runner/work/docs/docs/tests/unit/actions-workflows.js:37:27) at Promise.then.completed (/home/runner/work/docs/docs/node_modules/jest-circus/build/utils.js:390:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/docs/docs/node_modules/jest-circus/build/utils.js:315:10) at _callCircusTest (/home/runner/work/docs/docs/node_modules/jest-circus/build/run.js:218:40) at _runTest (/home/runner/work/docs/docs/node_modules/jest-circus/build/run.js:155:3) at _runTestsForDescribeBlock (/home/runner/work/docs/docs/node_modules/jest-circus/build/run.js:66:9) at _runTestsForDescribeBlock (/home/runner/work/docs/docs/node_modules/jest-circus/build/run.js:60:9) at run (/home/runner/work/docs/docs/node_modules/jest-circus/build/run.js:25:3) at runAndTransformResultsToJestFormat (/home/runner/work/docs/docs/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:167:21)
})
test('all allowed actions by .github/allowed-actions.js are used by at least one workflow', () => {
expect(allowedActions.length).toBeGreaterThan(0)
const disallowedActions = difference(allUsedActions, allowedActions)
expect(disallowedActions).toEqual([])

Check failure on line 43 in tests/unit/actions-workflows.js

GitHub Actions / test (unit)

Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 4 - Array [] + Array [ + "actions/stale@v3", + "peter-evans/create-issue-from-file@1c37a3538f1016517235b2ad3311d75bf0dd4a41", + ] at Object.<anonymous> (/home/runner/work/docs/docs/tests/unit/actions-workflows.js:43:31) at Promise.then.completed (/home/runner/work/docs/docs/node_modules/jest-circus/build/utils.js:390:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/docs/docs/node_modules/jest-circus/build/utils.js:315:10) at _callCircusTest (/home/runner/work/docs/docs/node_modules/jest-circus/build/run.js:218:40) at _runTest (/home/runner/work/docs/docs/node_modules/jest-circus/build/run.js:155:3) at _runTestsForDescribeBlock (/home/runner/work/docs/docs/node_modules/jest-circus/build/run.js:66:9) at _runTestsForDescribeBlock (/home/runner/work/docs/docs/node_modules/jest-circus/build/run.js:60:9) at run (/home/runner/work/docs/docs/node_modules/jest-circus/build/run.js:25:3) at runAndTransformResultsToJestFormat (/home/runner/work/docs/docs/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:167:21)
})
test('no scheduled workflows run on the hour', () => {
const res = await get(
'/en/enterprise/2.15/user/articles/viewing-contributions-on-your-profile-page'
)
expect(res.statusCode).toBe(301)

Check failure on line 36 in tests/routing/deprecated-enterprise-versions.js

GitHub Actions / test (routing)

Error: expect(received).toBe(expected) // Object.is equality Expected: 301 Received: 404 at Object.<anonymous> (/home/runner/work/docs/docs/tests/routing/deprecated-enterprise-versions.js:36:28) at processTicksAndRejections (node:internal/process/task_queues:96:5)
expect(res.headers.location).toBe(
'/en/enterprise/2.15/user/articles/viewing-contributions-on-your-profile'
)
test('can access redirects from redirects.json in deprecated enterprise content >2.17', async () => {
const res = await get('/enterprise/2.19/admin/categories/time')
expect(res.statusCode).toBe(301)

Check failure on line 44 in tests/routing/deprecated-enterprise-versions.js

GitHub Actions / test (routing)

Error: expect(received).toBe(expected) // Object.is equality Expected: 301 Received: 404 at Object.<anonymous> (/home/runner/work/docs/docs/tests/routing/deprecated-enterprise-versions.js:44:28) at processTicksAndRejections (node:internal/process/task_queues:96:5)
expect(res.headers.location).toBe(
'/en/enterprise-server@2.19/admin/configuration/configuring-time-synchronization'
)
test('handles requests for deprecated Enterprise pages ( >=2.13 )', async () => {
expect(enterpriseServerReleases.deprecated.includes('2.13')).toBe(true)
const $ = await getDOM('/en/enterprise/2.13/user/articles/about-branches')
expect($.res.statusCode).toBe(200)

Check failure on line 53 in tests/routing/deprecated-enterprise-versions.js

GitHub Actions / test (routing)

Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 404 at Object.<anonymous> (/home/runner/work/docs/docs/tests/routing/deprecated-enterprise-versions.js:53:30) at processTicksAndRejections (node:internal/process/task_queues:96:5)
expect($('h1').text()).toBe('About branches')
})
test('sets the expected x-robots-tag header for deprecated Enterprise pages', async () => {
const res = await get('/en/enterprise/2.13/user/articles/about-branches')
expect(res.statusCode).toBe(200)

Check failure on line 59 in tests/routing/deprecated-enterprise-versions.js

GitHub Actions / test (routing)

Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 404 at Object.<anonymous> (/home/runner/work/docs/docs/tests/routing/deprecated-enterprise-versions.js:59:28) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
expect(res.get('x-robots-tag')).toBe('noindex')
})
test('handles requests for deprecated Enterprise pages ( <2.13 )', async () => {
expect(enterpriseServerReleases.deprecated.includes('2.12')).toBe(true)
const $ = await getDOM('/enterprise/2.12/user/articles/about-branches')
expect($.res.statusCode).toBe(200)

Check failure on line 66 in tests/routing/deprecated-enterprise-versions.js

GitHub Actions / test (routing)

Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 404 at Object.<anonymous> (/home/runner/work/docs/docs/tests/routing/deprecated-enterprise-versions.js:66:30) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
expect($('h2').text()).toBe('About branches')
})
test('handles requests for deprecated Enterprise version 11.10.340', async () => {
expect(enterpriseServerReleases.deprecated.includes('11.10.340')).toBe(true)
const $ = await getDOM('/enterprise/11.10.340/admin/articles/adding-teams')
expect($.res.statusCode).toBe(200)

Check failure on line 73 in tests/routing/deprecated-enterprise-versions.js

GitHub Actions / test (routing)

Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 404 at Object.<anonymous> (/home/runner/work/docs/docs/tests/routing/deprecated-enterprise-versions.js:73:30) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
expect($('h2').text()).toBe('Adding teams')
})
const firstLink = $('[class="guide-section"]').children('a').attr('href')
$ = await getDOM(`${guidesPath}/${firstLink}`)
expect($.res.statusCode).toBe(200)

Check failure on line 83 in tests/routing/deprecated-enterprise-versions.js

GitHub Actions / test (routing)

Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 404 at Object.<anonymous> (/home/runner/work/docs/docs/tests/routing/deprecated-enterprise-versions.js:83:30) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
// this test assumes the Installation guide is the first link on the guides page
expect($('h2').text()).toBe('Installing and configuring GitHub Enterprise')
})
.get('/enterprise/2.18/dist/index.css')
.set('Referrer', '/en/enterprise/2.18')
expect(result.statusCode).toBe(200)

Check failure on line 144 in tests/routing/deprecated-enterprise-versions.js

GitHub Actions / test (routing)

Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 404 at Object.<anonymous> (/home/runner/work/docs/docs/tests/routing/deprecated-enterprise-versions.js:144:31) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
expect(result.get('x-is-archived')).toBe('true')
expect(result.get('Content-Type')).toBe('text/css; charset=utf-8')
})
.get('/stylesheets/index.css')
.set('Referrer', '/en/enterprise/2.13')
expect(result.statusCode).toBe(200)

Check failure on line 154 in tests/routing/deprecated-enterprise-versions.js

GitHub Actions / test (routing)

Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 404 at Object.<anonymous> (/home/runner/work/docs/docs/tests/routing/deprecated-enterprise-versions.js:154:31) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
expect(result.get('x-is-archived')).toBe('true')
expect(result.get('Content-Type')).toBe('text/css; charset=utf-8')
})
.get('/enterprise/2.18/dist/index.js')
.set('Referrer', '/en/enterprise/2.18')
expect(result.statusCode).toBe(200)

Check failure on line 164 in tests/routing/deprecated-enterprise-versions.js

GitHub Actions / test (routing)

Error: expect(received).toBe(expected) // Object.is equality Expected: 200 Received: 404 at Object.<anonymous> (/home/runner/work/docs/docs/tests/routing/deprecated-enterprise-versions.js:164:31) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5)
expect(result.get('x-is-archived')).toBe('true')
expect(result.get('Content-Type')).toBe('application/javascript; charset=utf-8')
})