[CVE-2024-45321] generate: hotpatch bin/cpanm to use HTTPS endpoints #176
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Dockerfiles/patches | |
on: | |
push: | |
branches: | |
- '**' | |
tags-ignore: | |
- '*' | |
pull_request: | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up git user name and email | |
run: | | |
git config --global user.email "test@github-actions" | |
git config --global user.name "GitHub Actions" | |
- uses: actions/checkout@master | |
- name: Install system perl and cpanm | |
run: | | |
sudo apt-get install --no-install-recommends -y perl cpanminus | |
- name: Install dependencies | |
run: | | |
cpanm --quiet --installdeps --notest -L local . | |
- name: Generate Dockerfiles/patches | |
run: | | |
perl -Ilocal/lib/perl5 ./generate.pl | |
- name: Show diffstat (if any) | |
run: | | |
git --no-pager diff --stat HEAD | |
- name: Show diffstat (if any) | |
run: | | |
git --no-pager diff --stat HEAD |