Bump boto3 from 1.28.15 to 1.28.16 in /pip/aws #2443
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: Push to other branches | |
on: | |
push: | |
branches-ignore: | |
- master | |
jobs: | |
labels: | |
name: Update repo labels | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Download labels' config | |
shell: bash | |
run: | | |
mkdir -p .tmp | |
curl -LsS https://raw.githubusercontent.com/devops-infra/.github/master/.github/labels.yml -o .tmp/labels.yml | |
- name: Update labels - dry run | |
uses: crazy-max/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
yaml-file: .tmp/labels.yml | |
dry-run: true | |
lint: | |
name: Run linters | |
if: "!startsWith(github.ref, 'refs/heads/dependabot')" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Haskell Dockerfile Linter (Hadolint) | |
uses: hadolint/[email protected] | |
with: | |
dockerfile: Dockerfile | |
build_and_push: | |
name: Build and push images in parallel | |
if: "!startsWith(github.ref, 'refs/heads/dependabot')" | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
flavour: [slim, plain, aws, azure, gcp, aws-azure, aws-gcp, azure-gcp, aws-azure-gcp, yc] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/[email protected] | |
with: | |
install: true | |
- name: Set up QEMU | |
uses: docker/[email protected] | |
with: | |
image: tonistiigi/binfmt:latest | |
platforms: amd64,arm64 | |
- name: Build Docker images and push to registry | |
env: | |
DOCKER_BUILDKIT: 1 | |
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
TERM: xterm-256color | |
run: make push-${{ matrix.flavour }} VERSION_PREFIX=test- | |
build_dependabot: | |
name: Build full image for Dependabot | |
if: "startsWith(github.ref, 'refs/heads/dependabot')" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Docker Buildx | |
uses: docker/[email protected] | |
with: | |
install: true | |
- name: Set up QEMU | |
uses: docker/[email protected] | |
with: | |
image: tonistiigi/binfmt:latest | |
platforms: amd64,arm64 | |
- name: Build Docker images | |
env: | |
DOCKER_BUILDKIT: 1 | |
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
TERM: xterm-256color | |
run: make build-aws-azure-gcp VERSION_PREFIX=test- | |
pull_request: | |
name: Create Pull Request | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get current date | |
id: date | |
run: echo "curr_date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Download Pull Request template | |
shell: bash | |
run: | | |
mkdir -p .tmp | |
curl -LsS https://raw.githubusercontent.com/devops-infra/.github/master/PULL_REQUEST_TEMPLATE.md -o .tmp/PULL_REQUEST_TEMPLATE.md | |
- name: Pull request - bugfix (conditional) | |
if: startsWith(github.ref, 'refs/heads/bugfix') | |
uses: devops-infra/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
assignee: ${{ github.actor }} | |
label: bugfix | |
template: .tmp/PULL_REQUEST_TEMPLATE.md | |
get_diff: true | |
- name: Pull request - dependency (conditional) | |
if: startsWith(github.ref, 'refs/heads/dependency') | |
uses: devops-infra/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
assignee: ${{ github.actor }} | |
label: dependency | |
template: .tmp/PULL_REQUEST_TEMPLATE.md | |
get_diff: true | |
- name: Pull request - documentation (conditional) | |
if: startsWith(github.ref, 'refs/heads/documentation') | |
uses: devops-infra/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
assignee: ${{ github.actor }} | |
label: documentation | |
template: .tmp/PULL_REQUEST_TEMPLATE.md | |
get_diff: true | |
- name: Pull request - feature (conditional) | |
if: startsWith(github.ref, 'refs/heads/feature') | |
uses: devops-infra/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
assignee: ${{ github.actor }} | |
label: feature | |
template: .tmp/PULL_REQUEST_TEMPLATE.md | |
get_diff: true | |
- name: Pull request - test (conditional) | |
if: startsWith(github.ref, 'refs/heads/test') | |
uses: devops-infra/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
assignee: ${{ github.actor }} | |
reviewer: ${{ github.actor }} | |
label: test | |
template: .tmp/PULL_REQUEST_TEMPLATE.md | |
draft: true | |
get_diff: true | |
- name: Create pull request - other (conditional) | |
if: "!startsWith(github.ref, 'refs/heads/bugfix') && !startsWith(github.ref, 'refs/heads/dependabot') && !startsWith(github.ref, 'refs/heads/dependency') && !startsWith(github.ref, 'refs/heads/documentation') && !startsWith(github.ref, 'refs/heads/feature') && !startsWith(github.ref, 'refs/heads/test')" | |
uses: devops-infra/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
assignee: ${{ github.actor }} | |
label: feature | |
template: .tmp/PULL_REQUEST_TEMPLATE.md | |
get_diff: true |