Skip to content

Only allow AES_CM_128_HMAC_SHA1_80 and AES_CM_128_HMAC_SHA1_32 cipher… #181

Only allow AES_CM_128_HMAC_SHA1_80 and AES_CM_128_HMAC_SHA1_32 cipher…

Only allow AES_CM_128_HMAC_SHA1_80 and AES_CM_128_HMAC_SHA1_32 cipher… #181

Workflow file for this run

name: PR for nethserver-tancredi RPM
on:
push:
branches:
- master
jobs:
open-pr:
runs-on: ubuntu-20.04
steps:
- name: Checkout tancredi code
uses: actions/checkout@v2
with:
fetch-depth: 0
repository: nethesis/tancredi
path: nethesis/tancredi
- name: Checkout nethserver-tancredi code
uses: actions/checkout@v2
with:
repository: nethesis/nethserver-tancredi
ref: master
token: ${{ secrets.NETHBOT_TOKEN }}
path: nethesis/nethserver-tancredi
- name: "Edit the .spec file"
id: editspec
run: |
cd $GITHUB_WORKSPACE/nethesis/nethserver-tancredi
sed -i -e '/^Source1: / c\Source1: https://github.com/nethesis/tancredi/archive/${{ github.sha }}/tancredi.tar.gz' nethserver-tancredi.spec
IFS=$'\n' mapfile -t commits <<<"$(git diff --word-diff | grep ^Source1 | grep -Eo '[a-f0-9]{40}')"
cd $GITHUB_WORKSPACE/nethesis/tancredi
references=$(git log ${commits[0]}..${commits[1]} | grep -Eo '((nethesis|nethserver)/dev)?#[0-9]+\b' | sed 's|^#|nethesis/tancredi#|' | sort | uniq)
references="${references//$'\n'/'%0A'}"
echo "::set-output name=references::${references}"
- name: Send a pull request to nethserver-tancredi
uses: peter-evans/create-pull-request@v4
with:
path: nethesis/nethserver-tancredi
token: ${{ secrets.NETHBOT_TOKEN }}
committer: NethBot <[email protected]>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
reviewers: DavidePrincipi,Stell0
title: Bump tancredi version
body: |
Triggered by commit ${{ github.repository }}@${{ github.sha }}
References:
${{ steps.editspec.outputs.references }}
branch: upstream-updates
commit-message: |
Bump tancredi version
Update to upstream version ${{ github.repository }}@${{ github.sha }}