Cannot use repo files nor dependencies without actually having them first =) (#20135)
This commit is contained in:
18
.github/workflows/open-enterprise-issue.yml
vendored
18
.github/workflows/open-enterprise-issue.yml
vendored
@@ -14,6 +14,12 @@ jobs:
|
||||
if: github.repository == 'github/docs-internal'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository code
|
||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
- name: Check for existing release or deprecation issues
|
||||
id: existingIssue
|
||||
run: |
|
||||
@@ -21,17 +27,6 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||
if: steps.existingIssue.outputs.deprecationIssue == 'false' || steps.existingIssue.outputs.releaseIssue == 'false'
|
||||
|
||||
- name: npm ci
|
||||
if: steps.existingIssue.outputs.deprecationIssue == 'false' || steps.existingIssue.outputs.releaseIssue == 'false'
|
||||
run: npm ci
|
||||
|
||||
- name: npm run build
|
||||
if: steps.existingIssue.outputs.deprecationIssue == 'false' || steps.existingIssue.outputs.releaseIssue == 'false'
|
||||
run: npm run build
|
||||
|
||||
- name: Update enterprise dates
|
||||
if: steps.existingIssue.outputs.deprecationIssue == 'false' || steps.existingIssue.outputs.releaseIssue == 'false'
|
||||
run: |
|
||||
@@ -43,6 +38,7 @@ jobs:
|
||||
.github/actions-scripts/create-enterprise-issue.js release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
|
||||
|
||||
- name: Create an enterprise deprecation issue
|
||||
if: steps.existingIssue.outputs.deprecationIssue == 'false'
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user