mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-14 08:17:13 +03:00
github/submodule-update: Remove unused 'Add labels' step
1. This was commented out. 2. It's not necessarily up to date with what *works*, so just delete it.
This commit is contained in:
parent
8fab1fa811
commit
640223472b
19
.github/workflows/submodule-update.yml
vendored
19
.github/workflows/submodule-update.yml
vendored
@ -64,22 +64,3 @@ jobs:
|
||||
title: `[Auto-generated] Submodule Updates ${process.env.GITHUB_RUN_ID}`,
|
||||
body: '${{ steps.check_for_changes.outputs.changes_text }}',
|
||||
});
|
||||
|
||||
# - name: Add labels
|
||||
# if: steps.check_for_changes.outputs.changes == 'true'
|
||||
# uses: actions/github-script@v6
|
||||
# with:
|
||||
# github-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
# script: |
|
||||
# const res = await github.rest.issues.listForRepo({
|
||||
# owner: '${{ github.repository_owner }}',
|
||||
# repo: '${{ github.repository }}'.split('/')[1].trim(),
|
||||
# });
|
||||
# const pr = res.data.filter(i => i.title.includes(process.env.GITHUB_RUN_ID));
|
||||
# const prNumber = pr[0].number;
|
||||
# await github.rest.issues.addLabels({
|
||||
# issue_number: prNumber,
|
||||
# owner: '${{ github.repository_owner }}',
|
||||
# repo: '${{ github.repository }}'.split('/')[1].trim(),
|
||||
# labels: ['${{ inputs.label }}']
|
||||
# });
|
||||
|
Loading…
x
Reference in New Issue
Block a user