Skip to content

Commit 5e54817

Browse files
authored
Merge pull request #51 from runwaylab/updates
Updates
2 parents d6a6e6e + 12469e7 commit 5e54817

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,24 @@ Now we need to create a `keys/` directory that contains our public/private key p
157157

158158
> Please ensure the `keys/` dir has 700 permissions and your public/private keys have 600 permissions
159159

160-
We also need to create a `creds.env` file which contains a GitHub PAT that is scoped to allow `read` access to `deployments` since our configuration is specifically looking for GitHub deployments. You may also need `repo` permissions on the token as well if your repository is private.
160+
We also need to create a `creds.env` file which contains a GitHub PAT for using the `github_deployment` event type. This file should be in the same directory as your `docker-compose.yml` file.
161161

162162
```ini
163163
# creds.env
164164
GITHUB_TOKEN=ghp_abcdefg
165165
```
166166

167+
At a bare minimum, the PAT will need the following permissions:
168+
169+
- Deployments: **read and write**
170+
171+
However, to unlock the full potential of runway, you will need to give the PAT the following permissions:
172+
173+
- Deployments: **read and write**
174+
- Pull Requests: **read and write** (for usage with [`github/branch-deploy`](https://github.com/github/branch-deploy))
175+
176+
You should be using fine-grained GitHub Access Tokens as you can apply granular permissions to them.
177+
167178
Now we can fire up runway!
168179

169180
```bash

β€Žacceptance/logs/expected.logβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ INFO: πŸ“– loading runway configuration
33
DEBUG: attempting to load config from acceptance/config/config.yml
44
INFO: βœ… loaded configuration successfully
55
INFO: 🚚 2 projects loaded
6-
INFO: πŸ›« starting runway - version: v0.3.0
6+
INFO: πŸ›« starting runway - version: v0.4.0
77
INFO: πŸ“¦ starting project project-1
88
INFO: πŸ• scheduling event with interval 3s for project-1
99
INFO: πŸ“¦ starting project project-2

β€Žshard.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: runway
2-
version: 0.3.0
2+
version: 0.4.0
33

44
authors:
55
- GrantBirki

β€Žsrc/version.crβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Runway
2-
VERSION = "v0.3.0"
2+
VERSION = "v0.4.0"
33
end

0 commit comments

Comments
Β (0)