File tree 5 files changed +6
-4
lines changed
5 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -225,4 +225,4 @@ Contributors
225
225
226
226
- Thomas Buchner (@MrBatschner)
227
227
228
- - Chris Cotter (@ccotter)
228
+ - Chris Cotter (@ccotter)
Original file line number Diff line number Diff line change 7
7
8
8
See also: http://developer.github.com/v3/actions/
9
9
"""
10
+
10
11
from .secrets import OrganizationSecret
11
12
from .secrets import RepositorySecret
12
13
from .secrets import SharedOrganizationSecret
Original file line number Diff line number Diff line change 1
1
"""This module contains all the classes relating to GitHub Actions secrets."""
2
+
2
3
import typing
3
4
4
5
from .. import models
5
6
6
7
7
8
class PublicKey (models .GitHubCore ):
8
-
9
9
"""Object representing a Public Key for GitHub Actions secrets.
10
10
11
11
See https://docs.github.com/en/rest/actions/secrets for more details.
@@ -31,7 +31,6 @@ def __str__(self):
31
31
32
32
33
33
class _Secret (models .GitHubCore ):
34
-
35
34
"""Base class for all secrets for GitHub Actions.
36
35
37
36
See https://docs.github.com/en/rest/actions/secrets for more details.
Original file line number Diff line number Diff line change 1
1
"""Integration tests for methods implemented on Organization."""
2
+
2
3
import datetime
3
4
4
5
import pytest
@@ -422,7 +423,6 @@ def test_hooks(self):
422
423
423
424
424
425
class TestOrganizationSecrets (IntegrationHelper ):
425
-
426
426
"""Integration tests for organization secrets."""
427
427
428
428
encrypted_data = "9JgL1eNoSjB/9cmjYUI00ojLcLxidIgvspXw/g+vmEvlIgqafYXTe1sbVEsz3RyLEyu/" # noqa: E501
Original file line number Diff line number Diff line change 1
1
"""Secret unit tests."""
2
+
2
3
import pytest
3
4
4
5
import github3
6
+
5
7
from . import helper
6
8
7
9
get_secret_examlple_data = helper .create_example_data_helper ("secret_example" )
You can’t perform that action at this time.
0 commit comments