Skip to content

Commit

Permalink
add PAT to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
EddeCCC committed Oct 15, 2024
1 parent ea49226 commit ee1c77a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci-feature.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: Feature Branch Continous Integration
name: Feature Branch Continuous Integration

on:
push:
branches:
- "feature/**"
pull_request:

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
build-and-test:
name: "Build and test extension"
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ allprojects {
name = "inspectit-gepard-config"
url = uri("https://maven.pkg.github.com/inspectIT/inspectit-gepard-config")
credentials {
username = project.findProperty("gpr.inspectit.gepard.user")
password = project.findProperty("gpr.inspectit.gepard.token")
username = project.findProperty("gpr.inspectit.gepard.user") ?: System.getenv("GITHUB_ACTOR")
password = project.findProperty("gpr.inspectit.gepard.token") ?: System.getenv("GITHUB_TOKEN")
}
}
}
Expand Down
1 change: 0 additions & 1 deletion inspectit-gepard-agent/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ dependencies {
annotationProcessor deps.autoservice

// All dependencies below are only for tests
testImplementation("rocks.inspectit.gepard:inspectit-gepard-config:${version}")
testImplementation("org.mockito:mockito-core:5.12.0")
testImplementation("org.mockito:mockito-junit-jupiter:5.12.0")
testImplementation("org.awaitility:awaitility:4.2.1")
Expand Down

0 comments on commit ee1c77a

Please sign in to comment.