Skip to content

build(deps): bump docker/login-action from 3.6.0 to 3.7.0 in the github-actions group across 1 directory #385

build(deps): bump docker/login-action from 3.6.0 to 3.7.0 in the github-actions group across 1 directory

build(deps): bump docker/login-action from 3.6.0 to 3.7.0 in the github-actions group across 1 directory #385

Workflow file for this run

name: Validate Policies
on:
merge_group:
workflow_dispatch:
inputs:
run-e2e-tests:
description: 'Run e2e tests (only from main branch by default)'
required: false
default: false
type: boolean
pull_request:
branches: [main]
push:
branches: [main]
permissions:
contents: read
jobs:
validate:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup updatecli
uses: elastic/oblt-actions/updatecli/install@v1
with:
version-file: .tool-versions
- name: Setup releasepost
uses: updatecli/releasepost-action@864390bddae97db06ee881ab4a08d159b4464643 # v0.5.0
- name: Validate
run: make test
- name: Get token from GitHub App
id: generate_testing_token
uses: elastic/oblt-actions/github/create-token@v1
if: |
github.ref == 'refs/heads/main' ||
( github.event_name == 'workflow_dispatch' && inputs.run-e2e-tests == true ) ||
( github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false )
- name: e2e tests
if: |
github.ref == 'refs/heads/main' ||
( github.event_name == 'workflow_dispatch' && inputs.run-e2e-tests == true ) ||
( github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false )
run: make e2e-test
env:
GITHUB_TOKEN: ${{ steps.generate_testing_token.outputs.token }}