aormsby / Fork-Sync-With-Upstream-action

An action to automatically update your fork with new commits from the upstream repo
MIT License
258 stars 70 forks source link

Issue: My repo is up but detected as 403 Error (Some sorts of Forbidden) #49

Closed thedoggybrad closed 2 years ago

thedoggybrad commented 2 years ago
Action output

``` 29 Checking for new commits on upstream branch. 30 31 32 New commits since last sync: 33 683ee62b468a89007410b95fd7723932a2faabb3 update #13085 34 096f10dc76e0315c9e050c9bdf69acd31b066f26 https://github.com/uBlockOrigin/uAssets/pull/12622#issuecomment-1127026589 35 c451ebee4d57edb2125a073c9b3cefdf24481c87 123chill. to ads (#13241) 36 2865a534feed0eeb0060018dd81f3cb2a56234fd arslanrocky. xyz popups (#13240) 37 38fb5617ab7870f522fb3959f505627cdcc443a0 movie123 .club popups (#13239) 38 2312ccae0274e95df07d0f915a6644e719fb8e71 update https://github.com/uBlockOrigin/uAssets/issues/4430 39 71df8ed629568c0d25a36d7ba4962e5da42ec6f8 update #10336 40 2a58e1200a535da8e531a83cc51d2e8b9c2c1605 fix https://github.com/uBlockOrigin/uAssets/issues/13236 41 10f78f874d0ac2efeaf8e7ba5fefc0830798f0b3 Update README.md 42 b020ef8463d11a69fcd2ff055522c28a47d3032c Update README.md 43 a7eba3b4dec721d1bb727d8b8030c86f16aac3c1 Update main.yml 44 a202b46e1d7a9e031e05975e3686e61f0fdf9963 Create main.yml 45 767b9a9d269cca5c413c7d8d1252f63f571de6b1 Update README.md 46 9695edf1cb10128d10a7fa038d61860c6f4c00a7 Delete main.yml 47 3cb8b7fd934c1527cfac70e0cd715df4314beb69 Update main.yml 48 f6b05400068f3763401f651f12517575890167b3 Update README.md 49 f3db50793746ab10721e12da02a6ded3f37ed639 Create main.yml 50 8ca05f658c0c5610410e1c747ff87922f177f106 Merge branch 'uBlockOrigin:master' into master 51 1d1208e1b85a5a870b7016cb4816a575ae31efdb Merge branch 'uBlockOrigin:master' into master 52 d1474b4072ea40f254188a43cebaca0b7ad7de89 Merge branch 'uBlockOrigin:master' into master 53 4b28d03f26c0316d0fb1d5ebc1f700aab3c71780 Merge branch 'uBlockOrigin:master' into master 54 897eb54428ded5ff27d9a727de5cb50299a7db4d Delete main.yml 55 13f0cd8dcf013fcad77a6e46734eb419e8815819 Update main.yml 56 aa849ffad676fce7d3f19d913ac84a539753f10c Create main.yml 57 2ac173c7869f2fb375088a32a4a3d9034a2406f4 Delete main.yml 58 262677ba55d0a4400a7a71bbc011eb94eb7c41cc Merge branch 'uBlockOrigin:master' into master 59 ff7bdf22c07dc001b2a647954d79f9370f42dc02 Update main.yml 60 ca9c65951121dfe2784abc65c6c4639019bf923d Update main.yml 61 e53479b407066deb9edb6c115456b45477d20cde Update main.yml 62 3cd23ddc51b5de4fedb5212d6db8abc4b692caf3 Update main.yml 63 d91a490147c47829fd41f02c31eb0a29040ee726 Create main.yml 64 23dd461aff152269361046533d636e347106b0af Delete main.yml 65 e2ca59a3c449ac1c42f831022506fe67d67eefd3 Update main.yml 66 9aa16943e7097b9caea09f2b4c0c66b0bec17017 Update main.yml 67 2d5f22feca742c9b094e790873c449101e3d96cb Update main.yml 68 e213c28d5ccb07d76240827a3a97dc431674a8a7 Update main.yml 69 cbc103ce1ab9cdcc69b9e566e77a03e3bd287d98 Update main.yml 70 5379be553000313647cd675def6a8c768a96f6a7 Update main.yml 71 eae6270e427161bc30c1f20ceee3bbb82b5b3d1a Update main.yml 72 204cb86956e7504a44b9e6b375d0470a8c2f11c1 Update main.yml 73 a15b1f7c2c50d019366503c37f4e4ccd6386c2be Create main.yml 74 43d97e72de1a39cdd637481c9befc1388a1db65f Merge branch 'uBlockOrigin:master' into master 75 3b15cce6b5de38af1e8bb6545942184d25fe5a5f Delete main.yml 76 bd0a6d70ff5bef0919e66e18e216974a31bf6619 Update main.yml 77 a592c396f9fe9ec853718294a75e18c8274d3a76 Update main.yml 78 77577dd8f10f6bfd5e1000c8997a1e6b04a9a851 Update main.yml 79 a8763f020ebbd3333be6265bcd5ed754648c98b3 Create main.yml 80 82f678e52669138d3e656aad802f4d351e844e3b Delete sync.yml 81 8cce5c01de9263d6ae9b26c7362ce87aa30099b0 Rename main.yml to sync.yml 82 acccb32f53f310e63e3fd0a7aae8d3662b908edb Update main.yml 83 e97c4219e3cffa215435a42fac4590b60a96f279 Create main.yml 84 290e33bda7b292424b3481b809591ff8614e8d2e Delete main.yml 85 6a6884c1d0d5ae086f4dc10f5df3843645899216 Update main.yml 86 cee5e0fdcb1614791c4097f1a5db3898617e3014 Create main.yml 87 a5cb1b257cee391d23d9e933b54ef14962ef01b6 Merge branch 'uBlockOrigin:master' into master 88 5d965e20870e6fc2ecd39dea7e17da4705304ef1 Update README.md 89 bd6356533d7bc1a960591324fe1b70604686402a Update serverlist 90 551eaf8ca702c22bdd7ca110665e6dc0bbe4b2c9 Update serverlist 91 92234956d5b1d21c26182ed4b104c70c0350d2e0 Merge branch 'uBlockOrigin:master' into master 92 7923a207b43a58022a3efabf9de697f1148f00fa Merge branch 'uBlockOrigin:master' into master 93 0eec9daeabf8350fbfcf65cb5b0b73484bf2d675 Merge branch 'uBlockOrigin:master' into master 94 b278730682a2fbe96584366528dfe07a39063c3f Merge branch 'uBlockOrigin:master' into master 95 a889370c2bf00c0459e8eac388ea564b496744b5 Merge branch 'uBlockOrigin:master' into master 96 e85fbb2aa184ac4e3f15b990b715da6e706a3bd2 Merge branch 'uBlockOrigin:master' into master 97 053c574d6bcfe35a87d8f38071241d37013e3ee2 Merge branch 'uBlockOrigin:master' into master 98 ac8a5b21937584161b2d77a4e124b50430b7c201 Delete blank.yml 99 f2d32e3a71b614a5e2aa079d36395f38f99131e1 Update blank.yml 100 f2b11dcc0f61451c451e82ee462a7bb097159fa8 Delete main.yml 101 0f0ef003e19100ce4e62f84d292c945b7205b6f1 Create blank.yml 102 8415cae7d9205b2fbbd1236c72719660b4d89b97 Merge branch 'uBlockOrigin:master' into master 103 4c4961882a400307e670cb5b160c182080792221 Update main.yml 104 ea907238f745cf8ce7622d7541e58f913132d14d Update main.yml 105 9bcf3833ad92e25998aa522e67e94df59a796b14 Update main.yml 106 176bbeefcbe6ca0c50f779ae161d56905cb51a5d Update main.yml 107 dcbd70ec48259b62345a55c800ea4dd6c40bf0e7 Create main.yml 108 0685007c7d36d85d1d32fff3485aaf989ab2b31f Delete main.yml 109 88cdfff7020fcf04dc5ec23a92399d1d79177546 Create main.yml 110 c2edbca9dc51358994df8b83187354c65ee93201 Merge branch 'uBlockOrigin:master' into master 111 8b7ff9aac21aa5cdeba6ead8d6002bbe2012f97e Delete blank.yml 112 aaf10e9f0739cd5dccd359240ce8f2c5a2e4a17a Update blank.yml 113 5051901c1d0d20bdd9cc9ac307b4a7764192f63b Create blank.yml 114 4497e1174b5fc1bd969e1826a73a860dafc12f7f Delete main.yml 115 50da95d1de3959dbc5b4a8bf34b42eff86c6cb2b Update main.yml 116 fd39fe250a3bba713ac888fb1f372509887eb292 Create main.yml 117 240e483a30fee05e7d6e698bbc613b86aaa91798 Merge branch 'uBlockOrigin:master' into master 118 199ae0e04518a1f0d9833c67bb642b28d41ac30f Merge branch 'uBlockOrigin:master' into master 119 674fd6e05272ce9a72f0749431d93b0a82a86b4e Delete main.yml 120 b4bd946fc8410f13e59507d031a669ec685baf2f Create main.yml 121 0e38e79cf9118219b3677ad0307d8959585cd073 Merge branch 'uBlockOrigin:master' into master 122 d52eed737a7d4606af717172b67f43d9eb4eee18 Update README.md 123 1abe89485052d6de5e009fc6f776b24d3bafe5ae Merge branch 'uBlockOrigin:master' into master 124 df54f393aaa0e34cf435b6c91abc5c665e5cf877 Update README.md 125 16cc78a1b83d8c3108c1a9e8a9cebdc35417f132 Update serverlist 126 03ba62ec30b679f9d93685c1378a3e0c080f0827 Update serverlist 127 e5ca329ce653df68a7751ec23f8f587cb3095e57 Update README.md 128 7b4c1d88e6fcfea89bbed3ed048a62e1ed5032cd Delete CONTRIBUTING.md 129 e2f18cbe3da5a654cf7d9c7df8b81e943eae63eb Add files via upload 130 0b2564098926077276b708ed07e2de266a1ed54a Update README.md 131 bd1af5db753a15cfdf31d4647b63305feb81216e Update README.md 132 7f996533df46d5626b15be6ea2498284434fc47f Update README.md 133 44a65f8909ef5437862a93a69cf5f88970f24343 Update urlhaus-filter-online.txt 134 223c90101f7b1a7e23373b95f1c368097be3e58f Add files via upload 135 74d3eacf70b857ef05ef642f0de7480f5e6e0df0 Merge branch 'uBlockOrigin:master' into master 136 9452d328883981c03f3ddabece5ba4130d4b4587 Add files via upload 137 128b2bd3e457863800afc441fecec04e650eb7a9 Merge branch 'uBlockOrigin:master' into master 138 256fcb1461a1230165ef89b153705c4dc0f9b703 Merge branch 'uBlockOrigin:master' into master 139 e7db73d1d920dad4b78d4eb83b250cd335e0a450 Merge branch 'uBlockOrigin:master' into master 140 ab95d94a6be1f7f6967c81d85e875927506d2038 Merge branch 'uBlockOrigin:master' into master 141 3b2ee02186c05c7f69551bf1d06e0c6291513b78 Merge branch 'uBlockOrigin:master' into master 142 b476fd5f4c3220387591fcf2c7781ef8718ac592 Delete sync.yml 143 5d946c703793a34f1959ac3ed86080c548264833 Create sync.yml 144 fcf30f13592988235d2f1a6afe3f232724b2feb5 Update README.md 145 adf0bf2f3f4d41b190dfebb77aa1e852d4280407 Update README.md 146 fefd45e7d9e262e3e362db31dbff0ed63bcee1f0 Update README.md 147 57f2a224d8cf49c4c82a3f4ff3bceade3800c80a Delete badlists.txt 148 78d1c9d0e248127cc2ad05558bb317c15c7c1672 Merge branch 'uBlockOrigin:master' into master 149 6fe553b069a92611e1a0eebdf4d60daa134e9d60 Update README.md 150 bb76b7828dd132caff7ea78b5a1ffdbf35a5a5b2 Update badlists.txt 151 b7800f13fe2bd14bd6650390a679df262d625a43 Update README.md 152 87acb44b52fcc38db3b5886dd17d8a2236ea25e9 Delete CONTRIBUTING.md 153 1c82bd282fbfb58358e2eb4838c43e04ccd40c4c Delete tools directory 154 47a8ec037283ed30f1ce6b0ff12cc4d823ee0493 Delete thirdparties directory 155 0557d79442d8214b728065b8c004962edacf9589 Delete .github directory 156 3bfa5b90dafb6386e4e6254c77026918cdab5af9 Update urlhaus-filter-online.txt 157 fff3e99e5e3ed8c6b8a31eb0ec379533476a1278 Update README.md 158 b2373fd02d6d65885af5171afd65ba982fe339ee Update unbreak.txt 159 06ccdb4ff921adefd4c7831c9b08ebd0262118db Update resource-abuse.txt 160 3466c4caf3c3dfc870d17ae1dffce777be41610e Update quick-fixes.txt 161 fea61813838bb08cfe3813a0e9dffe9dba800bfa Update privacy.txt 162 eae6dba02fde9ada0c27c25a73a9f8964c1d1a4d Update legacy.txt 163 f17f32c450ccfa3311d95279ccef5914df2cff9b Update lan-block.txt 164 52a0a7fc3a488fb8bdc699261a18258e38011f18 Update filters.txt 165 81786bde38387c92bd8846773923c57ec307e7e0 Update filters-2022.txt 166 5d7e2556dcf451ebf74fd8aff45d85e31101c7d6 Update filters-2021.txt 167 4c9b5ec064de3ee6f4e1e400d4cdb429adb5fc03 Update filters-2020.txt 168 cf587f15618bcd0bdd802b85e01bd3edafa6e7be Update badware.txt 169 09be186e287ef7d2f7b0732cc3a369875ec82c1d Update annoyances.txt 170 171 Syncing new commits... 172 From https://github.com/uBlockOrigin/uAssets 173 * branch master -> FETCH_HEAD 174 Auto-merging filters/filters-2021.txt 175 Auto-merging filters/filters-2022.txt 176 Auto-merging filters/filters.txt 177 Merge made by the 'ort' strategy. 178 filters/filters-2021.txt | 4 ++-- 179 filters/filters-2022.txt | 14 +++++++++----- 180 filters/filters.txt | 7 +++---- 181 3 files changed, 14 insertions(+), 11 deletions(-) 182 SUCCESS 183 184 Pushing synced data to target branch. 185 remote: Permission to thedoggybrad/UBlockFiltersforall.git denied to github-actions[bot]. 186 fatal: unable to access 'https://github.com/thedoggybrad/UBlockFiltersforall/': The requested URL returned error: 403 187 ERROR: exit 128 188 Could not push changes to target repo. 189 Try running in test mode to verify your action input. If that does not help, please open an issue. 190 Resetting git config to previous settings. 191 Reset Complete 192 193 Error: The process '/usr/bin/sh' failed with exit code 128 ```

thedoggybrad commented 2 years ago

You can confirm that the forked repo and the main repo is in master

https://github.com/thedoggybrad/UBlockFiltersforall

https://github.com/uBlockOrigin/uAssets

thedoggybrad commented 2 years ago

Summary: HTML Error 403 Error Code 128

aormsby commented 2 years ago

185 remote: Permission to thedoggybrad/UBlockFiltersforall.git denied to github-actions[bot]. 186 fatal: unable to access 'https://github.com/thedoggybrad/UBlockFiltersforall/': The requested URL returned error: 403

It couldn't be found because the actions bot doesn't have permission to access the repo. Maybe you didn't set up token inputs correctly? When it comes to debugging your permissions, there's not much I can do outside of providing things to try. Others may have faced similar issues. Try browsing those threads.

thedoggybrad commented 2 years ago

I think I put it correctly. If you want I am allowing you to check it:

https://github.com/thedoggybrad/UBlockFiltersforall/blob/master/.github/workflows/main.yml

My action secret was PERSONAL_TOKEN the same thing as secret.PERSONAL_TOKEN I do not have any environment intialized.

Can you spot any problems? I am just a beginner in Github.

thedoggybrad commented 2 years ago

@aormsby Should I set persist credentials as false? I set it to True. Should I set the secrets.Github_Token instead of secrets.PERSONAL_TOKEN on my secrets page. Thank You and hope that anyone help me, as really I am just a beginner in Github.

thedoggybrad commented 2 years ago

@aormsby I discovered that the issue is coming due to the github actions are set to read only. Sorry for disturbances. I am just a beginner. Sorry. It is now working.

thedoggybrad commented 2 years ago

@aormsby I am thanking you and all of this project's contributors. My project was made successful by this project and not to be dependent on manual updates.

Here is the repo: https://github.com/thedoggybrad/UBlockFiltersforall/

Here is the actions tab: https://github.com/thedoggybrad/UBlockFiltersforall/actions

Thank You again on this project as it is my strong need for my project.

It is working what is intended for. Right now there is no issues. My project was really dependent on syncing as it is a set of filters from UBlock Origin that I reconfigured to work on other AdBlock Plus compatible AdBlocks.

Thank You again.