Skip to content

Commit

Permalink
feat(file): reduce provenance file permissions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zenithar committed Mar 1, 2022
1 parent f82f4a0 commit 5771fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/github/provenance.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (e *Environment) PersistProvenanceStatement(ctx context.Context, stmt *into
if err != nil {
return fmt.Errorf("failed to marshal provenance: %w", err)
}
if err := os.WriteFile(path, payload, 0755); err != nil {
if err := os.WriteFile(path, payload, 0644); err != nil {
return fmt.Errorf("failed to write provenance: %w", err)
}

Expand Down

0 comments on commit 5771fc8

Please sign in to comment.