Comments (6)
I merged #63 and released these changes as v1.2.5.
If it's possible, please try to check this action works with GHE Server.
from auto-assign-action.
@kentaro-m my team was able to test the new version with GHE Server successfully 💯
from auto-assign-action.
I am also facing the same issue. In my case I am using the GitHub Enterprise Server 3.6.3 and the '2.293.1' runners version. Which permissions need the token to have? Any help on this?
from auto-assign-action.
Hello.
This project is set to look at the public github baseUrl by default.
Therefore, if you host and use Github Enterprise yourself, you need to modify the code as follows
// src > run.ts
export async function run() {
try {
const token = core.getInput('repo-token', { required: true })
const configPath = core.getInput('configuration-path', { required: true })
const client = new github.GitHub(token, {
baseUrl: "<ENTER_YOUR_GITHUB_ENTERPRISE_API_URL>", // ex) https://git.my-company.com/api/v3
})
....
}
After modifying the code, run the following command before pushing.
npm run package
from auto-assign-action.
@ihmabreu @thilakpv @lette1394
The URL of the API endpoint should normally be changed based on the environment variable (GITHUB_API_URL
).
However, this action uses a library that does not support GitHub Enterprise Server and communicates with the GitHub API, so API endpoint changes based on environment variables are not available.
Perhaps updating the @actions/github
package to v3 or higher will resolve this issue.
I had worked on this before but never completed it.
from auto-assign-action.
@kentaro-m Unfortunately it still doesn't work with GHE 😢
from auto-assign-action.
Related Issues (20)
- Group of reviewers per label
- Warnning "Resource not accessible by integration" reported and no reviewers are assigned. HOT 2
- numberOfReviewers does not default to 0
- Auto assign team HOT 1
- Enable Dependabot and fix the security issues. HOT 1
- fails to add reviewer & assignee
- Explain the purpose of review groups HOT 1
- Assignees enhancement - Option to include Author (ie. owner) in conjunction with other auto-assignees.
- Reviewer re-request review after approved
- Does not add a reviewer HOT 3
- Auto-assign the original author + another member
- Allow assignment on pull_request_review action
- Non English Letter skipKeywords Fail
- Why a separate yaml file for configuration?
- Action Required: Fix Renovate Configuration
- Dependency Dashboard
- [support] Error: Input required and not supplied: repo-token HOT 3
- Node.js 12 actions are deprecated HOT 2
- Can we upgrade node to v16? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-assign-action.