Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch Firefox Workflow Action #277

Merged
merged 3 commits into from
May 8, 2024
Merged

Switch Firefox Workflow Action #277

merged 3 commits into from
May 8, 2024

Conversation

kheina
Copy link
Collaborator

@kheina kheina commented May 8, 2024

switches from publish-firefox-add-on to release-firefox-addon which should support all of the different inputs we need.

Modified the release to support the new version (along with downloading the release source code from github using cURL (god I hope that github actions has curl installed by default))

whoever approves this PLEASE check all of the input types I use against those defined in the action: https://github.com/marketplace/actions/release-firefox-addon#inputs

Should let approval notes, license and release notes paramaters to be submitted
[chore/fix] bump firefox-addon version
@kheina kheina added this to the 0.4.2 milestone May 8, 2024
@kheina kheina changed the title New firefox workflow action Switch Firefox Workflow Action May 8, 2024
@kheina
Copy link
Collaborator Author

kheina commented May 8, 2024

this should be merged into #267 before it goes to main

@cooljeanius
Copy link
Collaborator

actionlint says:

$ actionlint
.github/workflows/release.yml:33:0: could not parse as YAML: yaml: line 33: did not find expected key [syntax-check]
   |
33 |         echo "sourcefile=$SOURCE_FILENAME" >> "$GITHUB_OUTPUT"
   | 

@kheina
Copy link
Collaborator Author

kheina commented May 8, 2024

actionlint says:

$ actionlint
.github/workflows/release.yml:33:0: could not parse as YAML: yaml: line 33: did not find expected key [syntax-check]
   |
33 |         echo "sourcefile=$SOURCE_FILENAME" >> "$GITHUB_OUTPUT"
   | 

that's weird. looking into it but no idea what the issue there might be

@kheina kheina force-pushed the new-firefox-workflow-action branch from 67420b0 to 0a4db4b Compare May 8, 2024 22:24
@kheina
Copy link
Collaborator Author

kheina commented May 8, 2024

@cooljeanius ok that should fix it

Copy link
Collaborator

@rougetimelord rougetimelord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Field types and names match the action documentation

@kheina kheina force-pushed the new-firefox-workflow-action branch from 0a4db4b to 52659d2 Compare May 8, 2024 22:48
@kheina kheina merged commit dd605e6 into 0.4.2 May 8, 2024
@kheina
Copy link
Collaborator Author

kheina commented May 8, 2024

Field types and names match the action documentation

you should be good to cut a new release once 0.4.2 is merged, now. I think

@cooljeanius
Copy link
Collaborator

OK, so that fixed the previous parsing error; now there are some new ones from shellcheck, though:

$ actionlint
.github/workflows/release.yml:30:7: shellcheck reported issue in this script: SC2155:warning:1:8: Declare and assign separately to avoid masking return values [shellcheck]
   |
30 |       run: |
   |       ^~~~
.github/workflows/release.yml:30:7: shellcheck reported issue in this script: SC2086:info:2:109: Double quote to prevent globbing and word splitting [shellcheck]
   |
30 |       run: |
   |       ^~~~

(if we don't really care about these, it should be ok to just ignore them, I just think it's worthwhile to be explicit about being intentional about ignoring them)

@kheina
Copy link
Collaborator Author

kheina commented May 8, 2024

OK, so that fixed the previous parsing error; now there are some new ones from shellcheck, though:

$ actionlint
.github/workflows/release.yml:30:7: shellcheck reported issue in this script: SC2155:warning:1:8: Declare and assign separately to avoid masking return values [shellcheck]
   |
30 |       run: |
   |       ^~~~
.github/workflows/release.yml:30:7: shellcheck reported issue in this script: SC2086:info:2:109: Double quote to prevent globbing and word splitting [shellcheck]
   |
30 |       run: |
   |       ^~~~

(if we don't really care about these, it should be ok to just ignore them, I just think it's worthwhile to be explicit about being intentional about ignoring them)

ok tbh yeah that's not a bad idea

@kheina
Copy link
Collaborator Author

kheina commented May 8, 2024

OK, so that fixed the previous parsing error; now there are some new ones from shellcheck, though:

$ actionlint
.github/workflows/release.yml:30:7: shellcheck reported issue in this script: SC2155:warning:1:8: Declare and assign separately to avoid masking return values [shellcheck]
   |
30 |       run: |
   |       ^~~~
.github/workflows/release.yml:30:7: shellcheck reported issue in this script: SC2086:info:2:109: Double quote to prevent globbing and word splitting [shellcheck]
   |
30 |       run: |
   |       ^~~~

(if we don't really care about these, it should be ok to just ignore them, I just think it's worthwhile to be explicit about being intentional about ignoring them)

I just pushed it directly to the llb

@rougetimelord rougetimelord mentioned this pull request May 21, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants