@pulumi/github 5.24.0 → 5.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,7 +20,7 @@ export declare function getRepository(args?: GetRepositoryArgs, opts?: pulumi.In
20
20
  */
21
21
  export interface GetRepositoryArgs {
22
22
  /**
23
- * A description of the repository.
23
+ * A description of the license.
24
24
  */
25
25
  description?: string;
26
26
  /**
@@ -65,7 +65,7 @@ export interface GetRepositoryResult {
65
65
  */
66
66
  readonly defaultBranch: string;
67
67
  /**
68
- * A description of the repository.
68
+ * A description of the license.
69
69
  */
70
70
  readonly description?: string;
71
71
  /**
@@ -102,7 +102,7 @@ export interface GetRepositoryResult {
102
102
  */
103
103
  readonly homepageUrl?: string;
104
104
  /**
105
- * URL to the repository on the web.
105
+ * The URL to view the license details on GitHub.
106
106
  */
107
107
  readonly htmlUrl: string;
108
108
  /**
@@ -125,6 +125,9 @@ export interface GetRepositoryResult {
125
125
  * The default value for a merge commit title.
126
126
  */
127
127
  readonly mergeCommitTitle: string;
128
+ /**
129
+ * The name of the license (e.g., "Apache License 2.0").
130
+ */
128
131
  readonly name: string;
129
132
  /**
130
133
  * GraphQL global node id for use with v4 API
@@ -146,6 +149,10 @@ export interface GetRepositoryResult {
146
149
  * GitHub ID for the repository
147
150
  */
148
151
  readonly repoId: number;
152
+ /**
153
+ * An Array of GitHub repository licenses. Each `repositoryLicense` block consists of the fields documented below.
154
+ */
155
+ readonly repositoryLicenses: outputs.GetRepositoryRepositoryLicense[];
149
156
  /**
150
157
  * The default value for a squash merge commit message.
151
158
  */
@@ -195,7 +202,7 @@ export declare function getRepositoryOutput(args?: GetRepositoryOutputArgs, opts
195
202
  */
196
203
  export interface GetRepositoryOutputArgs {
197
204
  /**
198
- * A description of the repository.
205
+ * A description of the license.
199
206
  */
200
207
  description?: pulumi.Input<string>;
201
208
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"getRepository.js","sourceRoot":"","sources":["../getR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E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AA0KD;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/github",
3
- "version": "v5.24.0",
3
+ "version": "v5.25.0",
4
4
  "description": "A Pulumi package for creating and managing github cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
package/types/output.d.ts CHANGED
@@ -681,15 +681,21 @@ export interface GetRepositoryPage {
681
681
  cname: string;
682
682
  custom404: boolean;
683
683
  /**
684
- * URL to the repository on the web.
684
+ * The URL to view the license details on GitHub.
685
685
  */
686
686
  htmlUrl: string;
687
687
  sources: outputs.GetRepositoryPageSource[];
688
688
  status: string;
689
+ /**
690
+ * The URL to access information about the license on GitHub.
691
+ */
689
692
  url: string;
690
693
  }
691
694
  export interface GetRepositoryPageSource {
692
695
  branch: string;
696
+ /**
697
+ * The path to the license file within the repository.
698
+ */
693
699
  path: string;
694
700
  }
695
701
  export interface GetRepositoryPullRequestsResult {
@@ -758,6 +764,106 @@ export interface GetRepositoryPullRequestsResult {
758
764
  */
759
765
  updatedAt: number;
760
766
  }
767
+ export interface GetRepositoryRepositoryLicense {
768
+ /**
769
+ * Content of the license file, encoded by encoding scheme mentioned below.
770
+ */
771
+ content: string;
772
+ /**
773
+ * The URL to download the raw content of the license file.
774
+ */
775
+ downloadUrl: string;
776
+ /**
777
+ * The encoding used for the content (e.g., "base64").
778
+ */
779
+ encoding: string;
780
+ /**
781
+ * The URL to access information about the license file as a Git blob.
782
+ */
783
+ gitUrl: string;
784
+ /**
785
+ * The URL to view the license details on GitHub.
786
+ */
787
+ htmlUrl: string;
788
+ /**
789
+ * `license` block consists of the fields documented below.
790
+ */
791
+ licenses: outputs.GetRepositoryRepositoryLicenseLicense[];
792
+ /**
793
+ * The name of the repository.
794
+ */
795
+ name: string;
796
+ /**
797
+ * The path to the license file within the repository.
798
+ */
799
+ path: string;
800
+ /**
801
+ * The SHA hash of the license file.
802
+ */
803
+ sha: string;
804
+ /**
805
+ * The size of the license file in bytes.
806
+ */
807
+ size: number;
808
+ /**
809
+ * The type of the content, (e.g., "file").
810
+ */
811
+ type: string;
812
+ /**
813
+ * The URL to access information about the license on GitHub.
814
+ */
815
+ url: string;
816
+ }
817
+ export interface GetRepositoryRepositoryLicenseLicense {
818
+ /**
819
+ * The text of the license.
820
+ */
821
+ body: string;
822
+ /**
823
+ * Conditions associated with the license.
824
+ */
825
+ conditions: string[];
826
+ /**
827
+ * A description of the license.
828
+ */
829
+ description: string;
830
+ /**
831
+ * Indicates if the license is featured.
832
+ */
833
+ featured: boolean;
834
+ /**
835
+ * The URL to view the license details on GitHub.
836
+ */
837
+ htmlUrl: string;
838
+ /**
839
+ * Details about the implementation of the license.
840
+ */
841
+ implementation: string;
842
+ /**
843
+ * A key representing the license type (e.g., "apache-2.0").
844
+ */
845
+ key: string;
846
+ /**
847
+ * Limitations associated with the license.
848
+ */
849
+ limitations: string[];
850
+ /**
851
+ * The name of the repository.
852
+ */
853
+ name: string;
854
+ /**
855
+ * Permissions associated with the license.
856
+ */
857
+ permissions: string[];
858
+ /**
859
+ * The SPDX identifier for the license (e.g., "Apache-2.0").
860
+ */
861
+ spdxId: string;
862
+ /**
863
+ * The URL to access information about the license on GitHub.
864
+ */
865
+ url: string;
866
+ }
761
867
  export interface GetRepositoryTeamsTeam {
762
868
  /**
763
869
  * The name of the repository.