File tree Expand file tree Collapse file tree 3 files changed +23
-12
lines changed
Expand file tree Collapse file tree 3 files changed +23
-12
lines changed Original file line number Diff line number Diff line change 11name : Publish CocoaPod
2-
2+ permissions :
3+ contents : read
34on :
4- push :
5- # runs on anything like v1.2.3
6- tags :
7- - " v*.*.*"
5+ release :
6+ types : [released]
87
98jobs :
109 publish-pod :
1110 runs-on : macos-latest
1211 steps :
13- # 1. Check out your code
14- - uses : actions/checkout@v3
12+ - name : Harden the runner (Audit all outbound calls)
13+ uses : step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
14+ with :
15+ egress-policy : audit
16+
17+ # 1. Checkout repository
18+ - name : Checkout repository
19+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1520
1621 # 2. Install a recent Ruby
17- - uses : ruby/setup-ruby@v1
22+ - uses : ruby/setup-ruby@0481980f17b760ef6bca5e8c55809102a0af1e5a # v1.263.0
1823 with :
1924 ruby-version : 3.4.3
2025
Original file line number Diff line number Diff line change 11name : SonarQube
2-
2+ permissions :
3+ contents : read
34on :
45 workflow_dispatch :
56 push :
1415 runs-on : macos-15
1516
1617 steps :
17- - name : Checkout code
18- uses : actions/checkout@v3
18+ - name : Harden the runner (Audit all outbound calls)
19+ uses : step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
20+ with :
21+ egress-policy : audit
22+
23+ - name : Checkout repository
24+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1925 with :
2026 fetch-depth : 0 # Shallow clones should be disabled for better SonarQube analysis
2127
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Pod::Spec.new do |s|
66 s . license = { :type => "MIT" , :file => "LICENSE" }
77 s . author = { "Formbricks" => "[email protected] " } 88 s . platform = :ios , "16.6"
9- s . source = { :git => "https://github.com/formbricks/ios.git" , :tag => "v #{ s . version } " }
9+ s . source = { :git => "https://github.com/formbricks/ios.git" , :tag => s . version }
1010 s . swift_version = "5.7"
1111 s . requires_arc = true
1212 s . source_files = "Sources/FormbricksSDK/**/*.{swift}"
You can’t perform that action at this time.
0 commit comments