flowzonify 0.1.7 → 0.1.8

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.
@@ -1,3 +1,15 @@
1
+ - commits:
2
+ - subject: Add support for external contributions
3
+ hash: 70142276098c488baed7572ee69405f8f4810e38
4
+ body: ""
5
+ footer:
6
+ Change-type: patch
7
+ change-type: patch
8
+ author: Kyle Harding
9
+ nested: []
10
+ version: 0.1.8
11
+ title: ""
12
+ date: 2023-03-23T14:12:07.306Z
1
13
  - commits:
2
14
  - subject: Stop removing the repo.yml
3
15
  hash: 71ff950e919e7496cdbe23c8ce2497d8bf92981f
@@ -9,7 +21,7 @@
9
21
  nested: []
10
22
  version: 0.1.7
11
23
  title: ""
12
- date: 2022-12-07T09:15:07.331Z
24
+ date: 2022-12-07T09:17:32.191Z
13
25
  - commits:
14
26
  - subject: Use inherited secrets
15
27
  hash: ecd009782b50c4d30d7b4a66df4d9241946a4895
package/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file
4
4
  automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
5
5
  This project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
+ ## 0.1.8 - 2023-03-23
8
+
9
+ * Add support for external contributions [Kyle Harding]
10
+
7
11
  ## 0.1.7 - 2022-12-07
8
12
 
9
13
  * Stop removing the repo.yml [Thodoris Greasidis]
package/flowzonify.sh CHANGED
@@ -1,4 +1,4 @@
1
- #!/bin/bash
1
+ #!/usr/bin/env bash
2
2
 
3
3
  git checkout -b "flowzonify";
4
4
 
@@ -15,14 +15,25 @@ if [ ! -f ".github/workflows/flowzone.yml" ]; then
15
15
  on:
16
16
  pull_request:
17
17
  types: [opened, synchronize, closed]
18
- branches:
19
- - "main"
20
- - "master"
18
+ branches: [main, master]
19
+ # allow external contributions to use secrets within trusted code
20
+ pull_request_target:
21
+ types: [opened, synchronize, closed]
22
+ branches: [main, master]
21
23
 
22
24
  jobs:
23
25
  flowzone:
24
26
  name: Flowzone
25
27
  uses: product-os/flowzone/.github/workflows/flowzone.yml@master
28
+ # prevent duplicate workflow executions for pull_request and pull_request_target
29
+ if: |
30
+ (
31
+ github.event.pull_request.head.repo.full_name == github.repository &&
32
+ github.event_name == 'pull_request'
33
+ ) || (
34
+ github.event.pull_request.head.repo.full_name != github.repository &&
35
+ github.event_name == 'pull_request_target'
36
+ )
26
37
  secrets: inherit
27
38
  ' > .github/workflows/flowzone.yml
28
39
  git add .github/workflows/flowzone.yml
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowzonify",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "A CLI utility to make switching to flowzone more automated",
5
5
  "bin": {
6
6
  "flowzonify": "flowzonify.sh"
@@ -23,6 +23,6 @@
23
23
  },
24
24
  "homepage": "https://github.com/product-os/flowzonify#readme",
25
25
  "versionist": {
26
- "publishedAt": "2022-12-07T09:15:07.397Z"
26
+ "publishedAt": "2023-03-23T14:12:07.380Z"
27
27
  }
28
28
  }