]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
.github: Update AsteriskReleaser for security releases
authorGeorge Joseph <gjoseph@sangoma.com>
Fri, 7 Jul 2023 17:06:24 +0000 (11:06 -0600)
committerGeorge Joseph <gjoseph@sangoma.com>
Fri, 7 Jul 2023 17:06:24 +0000 (11:06 -0600)
.github/workflows/AsteriskReleaser.yml

index 15afe9cbcad3cc8f8f6e467eceb8c331cdaf858c..7108c3d1de0d6d718ceb4f0ae9728eadc572e339 100644 (file)
@@ -6,7 +6,22 @@ on:
     inputs:
       is_security:
         description: |
-          Security or Hotfix?
+          Security?
+          (No prev RCs)
+        required: true
+        type: boolean
+        default: false
+      advisories:
+        description: |
+          Comma separated list of advisories.
+          NO SPACES
+          Example: GHSA-4xjp-22g4-9fxm,GHSA-4xjp-22g4-zzzz
+        required: false
+        type: string
+      is_hotfix:
+        description: |
+          Hotfix?
+          (A patch release but not security.  No prev RCs)
         required: true
         type: boolean
         default: false
@@ -58,6 +73,8 @@ jobs:
         uses: asterisk/asterisk-ci-actions/AsteriskReleaserComposite@main
         with:
           is_security: ${{inputs.is_security}}
+          advisories: ${{inputs.advisories}}
+          is_hotfix: ${{inputs.is_hotfix}}
           new_version: ${{inputs.new_version}}
           start_version: ${{inputs.start_version}}
           push_release_branches: ${{inputs.push_release_branches}}
@@ -69,7 +86,8 @@ jobs:
           asterisk_mail_list_rc: ${{vars.ASTERISK_MAIL_LIST_RC}}
           asterisk_mail_list_cert_ga: ${{vars.ASTERISK_MAIL_LIST_CERT_GA}}
           asterisk_mail_list_cert_rc: ${{vars.ASTERISK_MAIL_LIST_CERT_RC}}
-          asterisk_mail_list_sec: ${{vars.ASTERISK_MAIL_LIST_CERT_SEC}}
+          asterisk_mail_list_sec: ${{vars.ASTERISK_MAIL_LIST_SEC_ADV}}
+          sec_adv_url_base: ${{vars.ASTERISK_SEC_ADV_URL_BASE}}
           gpg_private_key: ${{secrets.ASTDEV_GPG_PRIV_KEY}}
           github_token: ${{secrets.GITHUB_TOKEN}}
           application_id: ${{secrets.ASTERISK_ORG_ACCESS_APP_ID}}