1
0
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:
Athanasius 2022-12-17 11:26:51 +00:00
parent 8fab1fa811
commit 640223472b
No known key found for this signature in database
GPG Key ID: 772697E181BB2767

View File

@ -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 }}']
# });