Commit eb8dab0ac8 for openssl.org
commit eb8dab0ac84a8acc6c4ca8f3cec1d349b716dad9
Author: Georgy Karataev <georgyk@openssl.org>
Date: Mon Nov 16 11:49:43 2026 +0100
.github/workflows/fips-label.yml: remove
The labeling workflow is deprecated in favour of the CI bot automation.
Link: https://github.com/openssl/project/issues/2037
Assisted-by: Claude:claude-opus-5-5
Reviewed-by: Dmitry Misharov <dmitry@openssl.org>
Reviewed-by: Andrew Dinh <andrewd@openssl.org>
Reviewed-by: Milan Broz <gmazyland@gmail.com>
Reviewed-by: Eugene Syromiatnikov <esyr@openssl.org>
Merge-date: Sun Nov 22 04:12:25 2026
Merged-from: https://github.com/openssl/openssl/pull/33761
diff --git a/.github/workflows/fips-label.yml b/.github/workflows/fips-label.yml
deleted file mode 100644
index 0dc8f576a0..0000000000
--- a/.github/workflows/fips-label.yml
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.
-#
-# Licensed under the Apache License 2.0 (the "License"). You may not use
-# this file except in compliance with the License. You can obtain a copy
-# in the file LICENSE in the source distribution or at
-# https://www.openssl.org/source/license.html
-
-name: FIPS and ABI Changed Label
-on:
- workflow_run:
- workflows: ["FIPS Check and ABIDIFF"]
- types:
- - completed
-
-permissions:
- contents: read
-
-jobs:
- apply-label:
- permissions:
- actions: read
- pull-requests: write
- runs-on: ubuntu-latest
- if: ${{ github.event.workflow_run.event == 'pull_request' }}
- steps:
- - name: 'Download fipscheck artifact'
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
- uses: actions/github-script@v8
- with:
- script: |
- var artifacts = await github.rest.actions.listWorkflowRunArtifacts({
- owner: context.repo.owner,
- repo: context.repo.repo,
- run_id: ${{github.event.workflow_run.id }},
- });
- var matchArtifact = artifacts.data.artifacts.filter((artifact) => {
- return artifact.name == "fips_checksum"
- })[0];
- var download = await github.rest.actions.downloadArtifact({
- owner: context.repo.owner,
- repo: context.repo.repo,
- artifact_id: matchArtifact.id,
- archive_format: 'zip',
- });
- var fs = require('fs');
- fs.writeFileSync('${{github.workspace}}/artifact.zip', Buffer.from(download.data));
- - run: unzip artifact.zip
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
- - name: 'Check artifact and apply'
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
- uses: actions/github-script@v8
- with:
- github-token: ${{secrets.GITHUB_TOKEN}}
- script: |
- var fs = require('fs');
- var pr_num = Number(fs.readFileSync('./pr_num'));
- if ( fs.existsSync('./fips_changed') ) {
- github.rest.issues.addLabels({
- issue_number: pr_num,
- owner: context.repo.owner,
- repo: context.repo.repo,
- labels: ['severity: fips change']
- });
- } else if ( fs.existsSync('./fips_unchanged') ) {
- var labels = await github.rest.issues.listLabelsOnIssue({
- issue_number: pr_num,
- owner: context.repo.owner,
- repo: context.repo.repo
- });
-
- for ( var label in labels.data ) {
- if (labels.data[label].name == 'severity: fips change') {
- github.rest.issues.removeLabel({
- issue_number: pr_num,
- owner: context.repo.owner,
- repo: context.repo.repo,
- name: 'severity: fips change'
- });
- }
- }
- }
- - name: 'Cleanup artifact'
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
- run: rm artifact.zip pr_num
-
- - name: 'Download abidiff artifact'
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
- uses: actions/github-script@v8
- with:
- script: |
- var artifacts = await github.rest.actions.listWorkflowRunArtifacts({
- owner: context.repo.owner,
- repo: context.repo.repo,
- run_id: ${{github.event.workflow_run.id }},
- });
- var matchArtifact = artifacts.data.artifacts.filter((artifact) => {
- return artifact.name == "abidiff"
- })[0];
- var download = await github.rest.actions.downloadArtifact({
- owner: context.repo.owner,
- repo: context.repo.repo,
- artifact_id: matchArtifact.id,
- archive_format: 'zip',
- });
- var fs = require('fs');
- fs.writeFileSync('${{github.workspace}}/artifact.zip', Buffer.from(download.data));
- - run: unzip artifact.zip
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
- - name: 'Check artifact and apply'
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
- uses: actions/github-script@v8
- with:
- github-token: ${{secrets.GITHUB_TOKEN}}
- script: |
- var fs = require('fs');
- var pr_num = Number(fs.readFileSync('./pr_num'));
- if ( fs.existsSync('./abi_changed') ) {
- github.rest.issues.addLabels({
- issue_number: pr_num,
- owner: context.repo.owner,
- repo: context.repo.repo,
- labels: ['severity: ABI change']
- });
- } else if ( fs.existsSync('./abi_unchanged') ) {
- var labels = await github.rest.issues.listLabelsOnIssue({
- issue_number: pr_num,
- owner: context.repo.owner,
- repo: context.repo.repo
- });
-
- for ( var label in labels.data ) {
- if (labels.data[label].name == 'severity: ABI change') {
- github.rest.issues.removeLabel({
- issue_number: pr_num,
- owner: context.repo.owner,
- repo: context.repo.repo,
- name: 'severity: ABI change'
- });
- }
- }
- }