Giter Club home page Giter Club logo

argocd-appset-pr-checks-generator's Introduction

Plugin Generator to Check PRs for checks and statuses

This requires a GitHub app with the contents, metadata, checks, and pull-requests permissions on repositories.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

argocd-appset-pr-checks-generator's People

Contributors

dependabot[bot] avatar renovate[bot] avatar sg60 avatar

Watchers

 avatar

argocd-appset-pr-checks-generator's Issues

Query Logic to get successful commit sha

// List with most recent "sha" first
let mut list_of_suitable_shas: Vec<String> = list_of_shas_for_first_check_name; 

for i in other_check_names {
	list_of_suitable_shas.retain(|sha| {
		if list_of_shas_for_i.contains(sha) {
			true
		} else {
			false
		}
	})
}

if list_of_suitable_shas.is_empty() then Do Everything Again With Another Page!!

let result: String = list_of_suitable_shas[0];

result

An option for doing a graphql query

{
  repository(owner: "sg60", name: "eventspider") {
    pullRequest(number: 125) {
      state
      title
      headRefName
      commits(last: 6) {
        nodes {
          commit {
            messageHeadline
            oid
            abbreviatedOid
            checkSuites(last: 10) {
              nodes {
                workflowRun {
                  workflow {
                    name
                  }
                }
                testRuns: checkRuns(
                  last: 1
                  filterBy: {conclusions: [SUCCESS], checkName: "test"}
                ) {
                  nodes {
                    conclusion
                    name
                  }
                }
                buildRuns: checkRuns(
                  last: 1
                  filterBy: {conclusions: [SUCCESS], checkName: "build (aarch64-unknown-linux-gnu, aarch64-linux)"}
                ) {
                  ...checkRunsFragment
                }
                allSuccessfulRuns: checkRuns(last: 20, filterBy: {conclusions: [SUCCESS]}) {
                  ...checkRunsFragment
                }
              }
            }
          }
        }
      }
    }
  }
}

fragment checkRunsFragment on CheckRunConnection {
  nodes {
    conclusion
    name
  }
}

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Repository problems

These problems occurred while renovating this repository. View logs.

  • WARN: Package lookup failures

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update rust crate indoc to v2.0.5
  • fix(deps): update rust crate anyhow to v1.0.86
  • fix(deps): update rust crate async-trait to v0.1.80
  • fix(deps): update rust crate axum to v0.7.5
  • fix(deps): update rust crate http-body-util to v0.1.2
  • fix(deps): update rust crate hyper-util to v0.1.5
  • fix(deps): update rust crate serde to v1.0.203
  • fix(deps): update rust crate serde_json to v1.0.119
  • chore(deps): update mikefarah/yq action to v4.44.2
  • chore(deps): update rust crate wiremock to 0.6.0
  • fix(deps): update rust crate base64 to 0.22.0
  • fix(deps): update rust crate http to v1.1.0
  • fix(deps): update rust crate hyper to v1.3.1
  • fix(deps): update rust crate jsonwebtoken to v9.3.0
  • fix(deps): update rust crate octocrab to 0.38.0
  • fix(deps): update rust crate opentelemetry-stdout to 0.4.0
  • fix(deps): update rust crate tokio to v1.38.0
  • chore(deps): update cachix/cachix-action action to v15
  • chore(deps): update docker/build-push-action action to v6
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Warning

Renovate failed to look up the following dependencies: Could not determine new digest for update (docker package lhr.ocir.io/lrdyqp2xtoja/argocd-appset-checked-pr-generator).

Files affected: k8s/overlays/prod/kustomization.yaml


Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

cargo
Cargo.toml
  • anyhow 1.0.80
  • async-trait 0.1.77
  • axum 0.7.4
  • base64 0.21.5
  • futures 0.3.30
  • hex 0.4.3
  • http 1.0.0
  • http-body-util 0.1.0
  • hyper 1.1.0
  • hyper-util 0.1.2
  • jsonwebtoken 9.2.0
  • octocrab 0.35.0
  • opentelemetry-stdout 0.2.0
  • opentelemetry-tracing-utils 0.4.0
  • ring 0.17.7
  • serde 1.0.194
  • serde_json 1.0.110
  • tokio 1.35.1
  • tower 0.4.13
  • tower-http 0.5.0
  • tracing 0.1.40
  • indoc 2
  • mockall 0.12.1
  • wiremock 0.5.22
dockerfile
Dockerfile
  • alpine latest
github-actions
.github/workflows/rust.yaml
  • actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
  • rui314/setup-mold v1@65ebd6e8eaa076198082114e4a8ab5c209b13ec4
  • dtolnay/rust-toolchain stable
  • Swatinem/rust-cache v2@23bce251a8cd2ffc3c1075eaa2367cf899916d84
  • docker/setup-buildx-action v3@2b51285047da1547ffb1b2203d8be4c0af6b1f20
  • DeterminateSystems/nix-installer-action main
  • cachix/cachix-action v14@18cf96c7c98e048e10a83abd92116114cd8504be
  • DeterminateSystems/magic-nix-cache-action main
  • docker/login-action v3@e92390c5fb421da1463c202d546fed0ec5c39f20
  • docker/metadata-action v5@8e5442c4ef9f78752691e2d8f8d19755c6f78e81
  • docker/build-push-action v5@2cdde995de11925a030ce8070c3d77a52ffcf1c0
  • aquasecurity/trivy-action master
  • actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
  • mikefarah/yq v4.42.1@9adde1ac14bb283b8955d2b0d567bcaf3c69e639
kustomize
k8s/overlays/prod/kustomization.yaml
  • lhr.ocir.io/lrdyqp2xtoja/argocd-appset-checked-pr-generator sha-fb85539dc177f35bdcc0d00c1b1178a1e694b8d9@sha256:cd87b5488b1c25ab4a9257847d34e4f5e385ad37062d186c0203e9526d9a46d1

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.