From 0037fbf6ac7229f27ae302487d72dbec8862303b Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Wed, 15 May 2024 11:53:38 -0400 Subject: [PATCH 1/4] Add example workflow Signed-off-by: Craig Perkins --- .github/workflows/example_dependabot.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/example_dependabot.yml diff --git a/.github/workflows/example_dependabot.yml b/.github/workflows/example_dependabot.yml new file mode 100644 index 0000000000000..14a756b32cad6 --- /dev/null +++ b/.github/workflows/example_dependabot.yml @@ -0,0 +1,14 @@ +name: Example Action + +on: + workflow_dispatch: + push: + branches: + - '*' + +jobs: + example_job: + runs-on: ubuntu-latest + steps: + - name: Print GitHub actor + run: echo "GitHub Actor: ${{ github.actor }}" From 429dd6de44bad92a10c87bd122e8e8445193045f Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Wed, 15 May 2024 11:55:19 -0400 Subject: [PATCH 2/4] Run on PR Signed-off-by: Craig Perkins --- .github/workflows/example_dependabot.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/example_dependabot.yml b/.github/workflows/example_dependabot.yml index 14a756b32cad6..8182a2e147438 100644 --- a/.github/workflows/example_dependabot.yml +++ b/.github/workflows/example_dependabot.yml @@ -1,10 +1,6 @@ name: Example Action -on: - workflow_dispatch: - push: - branches: - - '*' +on: [pull_request, push] jobs: example_job: From cfaddd7b7157d6af68ee260765fe1a8386c3f114 Mon Sep 17 00:00:00 2001 From: Craig Perkins Date: Wed, 15 May 2024 11:59:08 -0400 Subject: [PATCH 3/4] Add pipe Signed-off-by: Craig Perkins --- .github/workflows/example_dependabot.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/example_dependabot.yml b/.github/workflows/example_dependabot.yml index 8182a2e147438..87af89be5a49b 100644 --- a/.github/workflows/example_dependabot.yml +++ b/.github/workflows/example_dependabot.yml @@ -5,6 +5,15 @@ on: [pull_request, push] jobs: example_job: runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Print GitHub actor - run: echo "GitHub Actor: ${{ github.actor }}" + run: | + echo "GitHub Actor: ${{ github.actor }}" + + - name: Conditional Step + if: ${{ github.actor == 'dependabot[bot]' }} + run: echo "This job runs because the actor is dependabot." From ea3b6b20cd782dae67acf508cce6dd03d19d874c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 15 May 2024 16:00:22 +0000 Subject: [PATCH 4/4] Bump com.sun.xml.bind:jaxb-impl in /plugins/discovery-azure-classic Bumps com.sun.xml.bind:jaxb-impl from 2.2.3-1 to 4.0.5. --- updated-dependencies: - dependency-name: com.sun.xml.bind:jaxb-impl dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- plugins/discovery-azure-classic/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/discovery-azure-classic/build.gradle b/plugins/discovery-azure-classic/build.gradle index 7f34cec94499c..cbf27adf9626e 100644 --- a/plugins/discovery-azure-classic/build.gradle +++ b/plugins/discovery-azure-classic/build.gradle @@ -60,7 +60,7 @@ dependencies { api "com.sun.jersey:jersey-core:${versions.jersey}" api "com.sun.jersey:jersey-json:${versions.jersey}" api "org.codehaus.jettison:jettison:${versions.jettison}" - api 'com.sun.xml.bind:jaxb-impl:2.2.3-1' + api 'com.sun.xml.bind:jaxb-impl:4.0.5' // HACK: javax.xml.bind was removed from default modules in java 9, so we pull the api in here, // and allowlist this hack in JarHell