Skip to content

pixi 0.12.0

pixi 0.12.0 #168856

Workflow file for this run

name: Triage tasks
on: pull_request_target
env:
GH_REPO: ${{ github.repository }}
GH_NO_UPDATE_NOTIFIER: 1
GH_PROMPT_DISABLED: 1
concurrency:
group: "triage-${{ github.event.number }}"
cancel-in-progress: true
permissions:
contents: read
issues: write
pull-requests: write
statuses: write
jobs:
upload-metadata:
if: always() && github.repository_owner == 'Homebrew'
runs-on: ubuntu-latest
steps:
- uses: actions/upload-artifact@v3
with:
name: event_payload
path: ${{ github.event_path }}
workflows-label:
if: always() && github.repository_owner == 'Homebrew'
runs-on: ubuntu-latest
steps:
- name: Check pull request changed files
id: files
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
workflow_modified="$(
gh api \
--header 'Accept: application/vnd.github+json' \
--header 'X-GitHub-Api-Version: 2022-11-28' \
'repos/{owner}/{repo}/pulls/${{ github.event.number }}/files' \
--jq 'any(.[].filename; startswith(".github/workflows"))'
)"
# Fail closed.
echo "workflow_modified=${workflow_modified:-true}" >> "${GITHUB_OUTPUT}"
# Wait briefly in case of failure to make sure we don't end up
# hitting the same API error when trying `gh pr edit`.
- if: failure()
run: sleep 30
- name: Label PR
if: always() && fromJson(steps.files.outputs.workflow_modified)
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr edit --add-label workflows '${{ github.event.number }}'
triage:
runs-on: ubuntu-22.04
steps:
- name: Check commit format
if: >
github.actor != 'BrewTestBot' &&
!contains(github.event.pull_request.labels.*.name, 'CI-published-bottle-commits')
uses: Homebrew/actions/check-commit-format@master
with:
token: ${{secrets.GITHUB_TOKEN}}
- name: Label pull request
uses: Homebrew/actions/label-pull-requests@master
if: always()
with:
token: ${{secrets.GITHUB_TOKEN}}
def: |
- label: new formula
status: added
path: Formula/.+
- label: marked for removal/rejection
status: removed
path: Formula/.+
- label: bottle unneeded
path: Formula/.+
content: \n (bottle :unneeded)\n
- label: no ARM bottle
path: Formula/.+
content: '\n sha256.* (?!.*(?:arm64_|_linux)).+: +"[a-fA-F0-9]+"\n'
missing_content: '\n sha256.* (arm64_.+|all): +"[a-fA-F0-9]+"\n'
- label: no Linux bottle
path: Formula/.+
content: \n bottle do\n
missing_content:
- '\n sha256.* x86_64_linux: +"[a-fA-F0-9]+"\n'
- '\n sha256.* all: +"[a-fA-F0-9]+"\n'
- depends_on :macos
- label: formula deprecated
path: Formula/.+
content: \n deprecate!.*\n
- label: formula disabled
path: Formula/.+
content: \n disable!.*\n
- label: legacy
path: Formula/.+@.+
except:
- Formula/b/bash-completion@2.rb
- Formula/o/openssl@3.rb
- Formula/p/postgresql@15.rb
- Formula/p/python@3.12.rb
- Formula/p/python-gdbm@3.12.rb
- Formula/p/python-tk@3.12.rb
- label: missing license
path: Formula/.+
missing_content: \n license .+\n
- label: deprecated license
path: Formula/.+
content: license .*"(GPL|LGPL|AGPL|GFDL)-[0-9].[0-9][+]?".*
- label: boost
path: Formula/.+
content: depends_on "boost(@[0-9.]+)?"
- label: ffmpeg
path: Formula/.+
content: depends_on "ffmpeg(@[0-9.]+)?"
- label: go
path: Formula/.+
content: depends_on "go(@[0-9.]+)?"
- label: haskell
path: Formula/.+
content: depends_on "(ghc|haskell-stack)(@[0-9.]+)?"
- label: icu4c
path: Formula/.+
content: depends_on "icu4c(@[0-9.]+)?"
- label: java
path: Formula/.+
content: depends_on "openjdk(@[0-9.]+)?"
- label: linux-only
path: Formula/.+
content: depends_on :linux
- label: macos-only
path: Formula/.+
content: depends_on :macos
- label: lua
path: Formula/.+
content: depends_on "(lua|luajit|luajit-openresty)(@[0-9.]+)?"
- label: nodejs
path: Formula/.+
content: depends_on "node(@[0-9.]+)?"
- label: ocaml
path: Formula/.+
content: depends_on "ocaml(@[0-9.]+)?"
- label: perl
path: Formula/.+
content: (depends_on|uses_from_macos) "perl(@[0-9.]+)?"
- label: php
path: Formula/.+
content: (depends_on|uses_from_macos) "php(@[0-9.]+)?"
- label: python
path: Formula/.+
content: (depends_on|uses_from_macos) "python(@[0-9.]+)?"
missing_content: (depends_on|uses_from_macos) "python(@[0-9.]+)?" => \[?:(build|test)
- label: ruby
path: Formula/.+
content: (depends_on|uses_from_macos) "ruby(@[0-9.]+)?"
- label: rust
path: Formula/.+
content: depends_on "rust(@[0-9.]+)?"
- label: zig
path: Formula/.+
content: depends_on "zig(@[0-9.]+)?"
- label: dotnet
path: Formula/.+
content: depends_on "dotnet(@[0-9.]+)?"
- label: swift
path: Formula/.+
content: system "swift", "build"
- label: long build
path: Formula/.+/(agda|aom|apache-pulsar|arangodb|aws-sdk-cpp|boost|brotli|c-ares|cp2k|deno|dotnet|emscripten|envoy|freetype|gcc|ghc|glib|graph-tool|gstreamer|harfbuzz|haskell-language-server|hwloc|icu4c|libgcrypt|librist|libnghttp2|libomp|libtensorflow|llvm|mame|metashell|mlkit|mpfr|nghttp2|node|numpy|nwchem|openblas|p11-kit|pango|ponyc|python-setuptools|pytorch|rav1e|rust|shared-mime-info|suite-sparse|swift|texlive|qt|readline|root|souffle|v8|verilator|vtk|xz|zstd)(@[0-9]+)?.rb
keep_if_no_match: true
- label: CI-build-dependents-from-source
path: Formula/.+/(cabal-install|docbook-xsl|emscripten|erlang|ghc|go|ocaml|ocaml-findlib|ocaml-num|openjdk|rust).rb
keep_if_no_match: true
- label: CI-skip-recursive-dependents
path: Formula/.+/(ca-certificates|curl|gettext|openssl@(3|1.1)|sqlite).rb
keep_if_no_match: true
- label: CI-linux-self-hosted
path: Formula/.+/(alsa-lib|aom|brotli|cups|dart-sdk|dbus|envoy|freetype|gdbm|glib|glslang|gmp|gtk4|gzip|harfbuzz|hdf5|icu4c|json-c|krb5|libarchive|libedit|libnghttp2|libsndfile|libssh2|libtiff|libva|libx11|libxcrypt|libxml2|libxrandr|llvm|mesa|minizip|mpfr|mysql-connector-c\+\+|nghttp2|nss|numpy|open-mpi|openexr|p11-kit|pygments|python-setuptools|python@3.11|qt(@5)?|readline|remind|shared-mime-info|souffle|systemd|texlive|unbound|utf8cpp|util-linux|webp|xz|zlib|zstd).rb
keep_if_no_match: true
- label: large-bottle-upload
path: Formula/.+/(joern|nifi-registry|nifi|prestodb|texlive).rb
keep_if_no_match: true
- label: bump-formula-pr
pr_body_content: Created with `brew bump-formula-pr`
- label: pip-audit
pr_body_content: Created by `brew-pip-audit`