Benign github Download

elastic/ci-gh-actions

AArch64 (ARM64) architecture stringAction declares a main entrypoint

Evidence

Assigns shell variable from positional parameter diff · lines 1–20
1#!/bin/bash
2# Produces a list of changed files between two commits (works for merges and
3# regular commits).
4# Used in conjunction with the monorepo-diff-buildkite-plugin to determine
5# which pipelines to upload/trigger based on the files changed.
6
7[ $# -lt 1 ] && { echo "argument is missing."; exit 1; }
8
9COMMIT=$1
10
11HEAD_BRANCH=$(git remote show origin | awk '/HEAD branch/ {print $NF}')
12BRANCH_POINT_COMMIT=$(git merge-base "$HEAD_BRANCH" "$COMMIT")
13
14if [ "$BUILDKITE_BRANCH" == "$HEAD_BRANCH" ]; then
⋯6 lines
Digest/expected label near a hexadecimal value pipeline.yml · lines 1–27
⋯14 lines
15 command: "renovate-config-validator"
16 agents:
17 image: "docker.elastic.co/ci-agent-images/pipelib:0.23.0@sha256:69094e7e5fa1e252da2171fdf707bf3408c5e576e86ac64d8d667498bc1b627d"
18 # if our catalog-info.yaml is changed, make sure it's well-formed according to our internal standards as well as Backstage's validation
19 - path: "catalog-info.yaml"
⋯8 lines
Removes a locally named file .pre-commit-config.yaml · lines 1–41
1---
2repos:
3 - repo: https://github.com/pre-commit/pre-commit-hooks
4 rev: v4.6.0
5 hooks:
⋯30 lines
36 - id: verify-github-actions-bundle
37 name: Verify GitHub Actions bundle is up-to-date
38 entry: bash -c 'cd fetch-github-token && npm install --silent && npm run verify-bundle && rm -rf node_modules'
39 language: system
40 files: ^fetch-github-token/(revoke\.cjs|package\.json|action\.yml)$
41 pass_filenames: false
Workflow text references github.com/ action.yml · lines 1–24
1# Copied from: https://github.com/pyTooling/Actions/blob/main/with-post-step/action.yml
2name: With post step
3
4description: 'Generic JS Action to execute a main command and set a command as a post step.'
5
6inputs:
⋯18 lines
Data-access verb token pre-commit.yml · lines 1–17
1name: pre-commit
2
3on:
4 merge_group: ~
5 workflow_dispatch: ~
6 pull_request:
7 push:
8 branches: [main]
9
10permissions:
11 contents: read
12
13jobs:
⋯4 lines

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.