File tree Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Expand file tree Collapse file tree 1 file changed +29
-1
lines changed Original file line number Diff line number Diff line change 1
- # github-url-resolver-action
1
+ # github-url-resolver-action
2
+
3
+ An action that can resolve the type and associated URLs for a GitHub instance.
4
+
5
+ ## Parameters
6
+
7
+ * ` github_base_url ` : The base URL of the GitHub instance to get the type and URLs for
8
+
9
+ ## Outputs
10
+
11
+ * ` github_type ` : The type of GitHub instance
12
+ * ` base_url ` : The BASE URL for accessing the instance
13
+ * ` api_url ` : The API URL for the instance
14
+ * ` terraform_api_url ` : The API URL to leverage for terraform github provider to access the APIs
15
+ * ` container_registry_url ` : The URL for the GitHub Container Registry for the instance
16
+
17
+ ## Examples
18
+
19
+ ```
20
+ - name: Get Urls
21
+ uses: octodemo-resources/github-url-resolver-action@v1
22
+ ```
23
+
24
+ ```
25
+ - name: Get Urls
26
+ uses: octodemo-resources/github-url-resolver-action@v1
27
+ with:
28
+ github_base_url: 'https://github.com'
29
+ ```
You can’t perform that action at this time.
0 commit comments